Modifying width of sticky posts in Suburbia Theme

  • Unknown's avatar

    Hi, I was wondering if I can modify the sticky post feature in Suburbia to have a single large post at the top, instead of two. This means having some control over the width of the sticky post and also possibly the image within it, but I’m guessing that is proportionally enlarged?

    Presently on the site the sticky post feature cuts a bit of text at the bottom as the text size is enlarged. Is there any way to have this the same as text in other posts? It also shifts one post down (because of border modifications of my individual posts). I would prefer not to change the width of all my posts but only the sticky one if that is possible.

    Any help wil be much appreciated. Thanks a lot in advance.

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

  • Unknown's avatar

    Correcting the post that shifts down is easy; just add this:

    .grid.sticky {
    padding-right: 19px;
    }

    Making the sticky full width should also be easy. For starters, try this instead of the above and see what you think:

    .grid.sticky {
    height: 422px;
    width: 742px;
    }

    But no, the image won’t get proportionately enlarged. Its width is designed to fit the default width of the sticky, and it’s not even defined in the CSS of the theme, so you cannot use CSS to enlarge it. (More precicely, you can, but it won’t be a real larger version, it will be a blown up version of the default one, i.e. very poor quality). If you finally opt for a full width sticky, you’ll have to insert an image in a different way.

  • Unknown's avatar

    Thanks a lot! I think I might have to go for a double sticky post option. Having a single wide one leads to too much odd space and without flexible formatting options, it’s probably best to keep it simple.

    As always, much obliged for your help.

  • Unknown's avatar

    You’re welcome, and I agree. The odd space can be avoided if you rearrange the contents of the sticky, but then the sticky will look too different from the rest of your posts. And anyway a full-width sticky looks interesting but too prominent to me. Also, if you wanted a full-width image, it would have to be inserted via the CSS editor, so this wouldn’t be very practical if you wanted to rotate stickies.

  • The topic ‘Modifying width of sticky posts in Suburbia Theme’ is closed to new replies.