• Hi, I’m very new to all of this and I don’t really know where to seek help.

    But here goes..

    I’ve recently created a blog and everything went smoothly. I’ve then changed themes since then and the only problem encountered was that the theme seems to be overridding a sidebar widgets style and font. The data displayed is right, but the structure and font are quite wrong. Now I know the code is sound since it worked perfectly on previous themes, but this particular one named “blog64” doesn’t seem to care what I want lol.

    The widget is a custom html code generated by another site. It is used to display a table of stats from said site to yours. It’s the “Verified Trades” Widget in the right sidebar if y’all want to take a look on my blog: https://www.mickdostietrades.com

    Now I’m sure there is a way to force the theme not to overridde the style of the widget somewhere in the CSS, but for now I’m at a total loss and I’m afraid I don’t know anything about coding. I’ve searched a couple sites but now I’m turning to you kind people for some help.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • You haven’t told us why it looks wrong now and how it should be looking. But in any case the theme should alter the widgets looks to make them look even with the themes mood, so that is correct on the way it works. The only way that you can override the theme is by adding your own CSS styles or classes to your own code.

    BUT!

    All the styles you see on that widget are coming from widget.pack.css that I assume was generated from the site you took the code and not from the theme.

    So the best way would be to target the CSS classes of the widget for example .profitly-widget and change what you want through custom CSS.

    You can easily add extra CSS via the Customizer ( Appearance -> Customize -> Additional CSS ).

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress theme overrides a sidebar widget’ is closed to new replies.