• Resolved JoeMD

    (@joemd)


    Hey folks,

    I’m wondering if it’s possible to move the side bar up so that it appears under the “main” featured post (the big image) while still having three smaller featured posts?

    Thanks in advance for any help.

    https://soniccollectors.com/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author Konstantin Kovshenin

    (@kovshenin)

    Hey there! I don’t think you can do that with just CSS. Firstly you’ll need to change the amount of featured posts from 5 to 4 and resize the secondary featured posts block to fit the sidebar. You can probably change the amount with Jetpack’s Featured Content module. Other than that it’s all about CSS. A margin-top of around -570px on #secondary should do the trick. Also make sure you don’t break the responsive layout when the sidebar goes beneath the main content, you might have to add some additional media-query rules. Hope that helps!

    Thread Starter JoeMD

    (@joemd)

    Ok, so I’ve been able to move the sidebar up and fix the number of featured posts, however I can’t figure out how to re-zise the secondary content field. I tried the following but had no luck.

    body {
    
    	line-height: 1;
    background-position: center bottom!important;
    
    }

    Do I have to change something in the style sheet? I’m using a child theme so what would I add/do?

    Thanks in advance.

    Thread Starter JoeMD

    (@joemd)

    I’ve tried a few other things but can’t figure out how to change the size of the secondary content. Any suggestions?

    Thread Starter JoeMD

    (@joemd)

    Well, I figured it out. I kind of cheated by simply reducing the featured post count to 4, moving the sidebar up and changing the background to white. Didn’t have to worry about changing the side of the actual secondary featured posts area because the sidebar is “on top” of it. ^_^

    kallekn

    (@kallekn)

    I was thinking about doing this myself in order to make the sidebar content more visible, but finally decided against it – the full width secondary featured post area seems fundamental to the design. Still, maybe you could post the code, you never know. ??

    But the change seems to affect your single posts too, which probably wasn’t intended?

    Thread Starter JoeMD

    (@joemd)

    Yes, it does, only just noticed that. So I’m going to have to change it back. You’re right, Kallekn, the full-width does seem too important. Would be nice to have the option to make the sidebar more viable though.

    @konstantin, would it be possible to allow for the sidebar to be more viable as described in a future upgrade to the theme?

    Theme Author Konstantin Kovshenin

    (@kovshenin)

    Joe, not really, the theme hasn’t got any options and it doesn’t really make sense to change the default behavior. You can always set the featured posts count to 1 and have no secondary block, pushing the sidebar and the main content area higher.

    Thread Starter JoeMD

    (@joemd)

    No worries. Just thought I’d ask. Theme is really cool as it is.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Move Sidebar Under "Main" Post’ is closed to new replies.