• Resolved Chris Long

    (@chris-long)


    Hi,

    thanks for the help in sorting the banner image out. Works great (i know it could be adapted better for mobile devices but that’s for the future ??

    The only other big layout alteration i need is sidebar on the homepage. Ideally the posts will format into a maximum of three columns, and there will be a standard sidebar that will have an embedded video clip, audio clips, twitter feed, contact form etc.

    This is my site: https://www.soulvibe.co.uk

    I thought i could easily do it in the widgets section but can only affect the post pages there.

    I am missing something simple? or is it a more involved code addition to the stylesheet?

    thanks again for the help. Don’t know why i didnt try wordpress before!!!!

    Chris

Viewing 7 replies - 1 through 7 (of 7 total)
  • JuliettePerkins

    (@julietteperkins)

    Hi Chris,

    I’m afraid I can’t help with your sidebar query, but your header looks great and I was wondering if you could share the contents of your header.php so that I can adopt it for my page, please? I’m really struggling with the same header issue as you were but haven’t been as successful in sorting as you have been!

    My site is at https://www.julietteperkins.co.uk

    Thanks in advance!

    Thread Starter Chris Long

    (@chris-long)

    Hi,

    It was really easy, if you to the fluxipress forum there is a post i made about adding an image. The title on my site is just a graphic i created. The code for it is posted as a reply and you can just copy and past it in

    Chris

    Hi Chris,your site looks grreat! Please can you let me know how you managed to install the sidebar! I also really need a sidebaar on the posts and pages. it says “single post” in the widgets section, but it doesnt show.. I see on your site that it shows. Your help would be grestly sppreciated.. thanksk!!!
    https://sisonke-design.com/

    I figured it out in the meantime… i had changed the header in order to display a logo and i had changed the line
    <body <?php body_class(‘lt-480’ . (is_single() && is_active_sidebar(‘sidebar-single’) ? ‘ has-single-sidebar’ : ”)); ?>>
    to
    <body <?php body_class(‘lt-480’); ?>>
    This is why it did not work.. I changed this one line back and now all works.. great

    Hello carovienna,

    Can you please help me with this sidebar thing?

    I replaced

    <body <?php body_class(‘lt-480’ . (is_single() && is_active_sidebar(‘sidebar-single’) ? ‘ has-single-sidebar’ : ”)); ?>>

    with this

    <body <?php body_class(‘lt-480’); ?>>

    in header.php, but nothing changed…

    Do I need to do something along/before/after that? I’m a newbie, sorry if I’m asking about something the kids already know! ??

    Thanks!

    Hi mihailobjelic,
    sorry for the late reply, i have not logged in for quite a while.
    i dont really remember what i did, but there is a sidebar in the posts which i use and it works. the pages have no sidebar.
    you should NOT change to <body <?php body_class(‘lt-480’); ?>> in the header, but leave <body <?php body_class(‘lt-480’ . (is_single() && is_active_sidebar(‘sidebar-single’) ? ‘ has-single-sidebar’ : ”)); ?>> instead. i only quote my mistake..

    Hi carovienna,

    I solved the problem some time ago! ??

    Anyway, thank you very much for this answer, it’s nice to see you tried to help as soon as you saw my question…

    Regards,
    Mihailo

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Adding a side bar to the homepage’ is closed to new replies.