Adding Sidebar Within Post

Community Forums Forums Design Tips and Tricks Adding Sidebar Within Post

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  bumblebee 9 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #89861

    bumblebee
    Member
    Post count: 7

    Hi,

    I’m using the magazine pro theme and am trying to add a sidebar on the left hand side of my posts to include article tools like Facebook and Twitter share buttons. I would like this to display much like on the New York Times story pages (i.e. this sidebar would be positioned immediately next to the post text but beneath the headline and any images). For an example of this positioning, please refer to http://www.nytimes.com/2014/02/11/world/americas/majority-of-americans-favor-ties-with-cuba-poll-finds.html (look for the tools on the left like “email” “facebook” etc.).

    Essentially, I’m looking for advice on how to either add a new sidebar in this position or modify the location of the optional left (secondary) sidebar already included in the theme. I’ve attempted to modify the secondary sidebar, but have had no luck incorporating it directly within the post so that it only begins beneath the headline and any image that extends across the top of the story.

    Any advice or suggestions on how to accomplish would be much appreciated! Thank you!

    #89878

    braddalton
    Participant
    Post count: 10553
    #89880

    bumblebee
    Member
    Post count: 7

    Thanks so much for your suggestion! This is definitely moving in the right direction, but there are two problems:

    • I think there needs to be some sort of “is_single” or similar code inserted because this is currently affecting the layout on my homepage and category pages as opposed to just the post pages. I’m just not quite sure where to insert the “is_single” code within the function.

    • Separately, this is forcing the right (primary) sidebar to be pushed down so that it aligns with the top of the body text. I would like that sidebar to remain aligned with the top of the headline. Any ideas how to accomplish that?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.