Widget Sidebar CSS Customization

  • Unknown's avatar

    Hello, i am using the forever theme and i would like to know if there’s a snippet or if it’s possible to make the last image at the bottom of the widget sidebar align horizontally with the entry-meta of the last featured image post on my home page and also on the category pages.

    As you will see, the last image of the widget sidebar looks slightly above the entry-meta of the “El buen accionar de La Máquina” post.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    There are a couple of options here but in my opinion they both cause more problems than they solve.

    You could move the last widget down to align with the bottom of the last post but then you’d have uneven spaces between widgets.

    Or you could try to increase the spacing between the widgets but this depends on you not changing any of the widgets and never writing a post with a longer title that wraps to multiple lines.

    Here’s some code to try out the second method, this should align the bottom of the last widget image with the bar separating the post content from the meta – you can adjust the value as you see fit!

    #secondary .widget {
      margin-bottom:1.82em;
    }
  • Unknown's avatar

    May I jump in with a related query to Widget CSS customization? I’d like to enlarge the size of the widget headers on my blog, Pairings :: Art + What Goes With It. Can you offer the proper code for me to add? Thanks.

  • Unknown's avatar

    Hi there, here’s the code you can add in to your custom CSS:

    .widget h3.widgettitle {
      font-size:20px;
    }

    Could I also ask in future that you create a new forum post if your question is something different – it makes it easier for other people to find the right answer in future and will stop people getting confused when they read through this topic!

  • Unknown's avatar
  • Unknown's avatar

    It works perfectly, thank you very much!

    Will there be a snippet to make the dark gray tittle box in the poll from the footer be #0a3143 colored instead of that dark gray?

  • Unknown's avatar

    Here you go:

    #PDI_container8338043 .pds-question-top {
      background-color:#0a3143;
      background-image:none;
      border-radius:0;
      border:0;
    }

    You should also be able to add a font-size declaration if you want to make the title the same as the other widgets.

  • Unknown's avatar

    Thanks for the CSS to use for increasing my widget headers. Worked like a charm! Tweaked it to 16px however ;-} And yes, I get it, I’ll start a new thread next time.

  • The topic ‘Widget Sidebar CSS Customization’ is closed to new replies.