• Resolved Jas999

    (@jas999)


    I am using a child theme of Pinnacle free V1.2.8
    The theme comes with 5 sidebars – Primary and Footer Column 1 to 4.
    Under Appearance -> Theme options -> Misc Settings -> Create Custom Sidebars, I was able to create additionnal sidebars.
    When I want to display one of these sidebars on a given page (of course, not the footer ones), they are all showing on the right.
    Is it possible to have all of them, or better, of just a few of them to show to the left? Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Jas999

    (@jas999)

    Hi, reading through Virtue theme, saw a similar question. I tried the code suggested and it works. I placed it at the bottom of the file “style.css” in my child theme folder. This code will move ALL the sidebars to the left since the main content will now be push to the right.
    Is this how it should be done?
    #content .main {float:right;}

    hannah

    (@hannahritner)

    Hey,
    Try using this instead:

    @media (min-width: 992px) {
    body .main.col-lg-9 {float:right;}
    }

    If you want to use this on only select page you would just need to add the page id[s].

    Hannah

    Thread Starter Jas999

    (@jas999)

    It works! And where in the above code and how would I put the page ID?

    Jas999, can you link to where you saw that? That css you posted can break the site on mobile so I want to update whatever your seeing.

    As for applying hannahs css to one page you would use it like this:

    @media (min-width: 992px) {
    body.page-id-5 .main.col-lg-9 {float:right;}
    }

    changing 5 with whatever you page id is.

    Kadence Themes

    Thread Starter Jas999

    (@jas999)

    Great! It works!

    Thread Starter Jas999

    (@jas999)

    I first saw the css code in the support tread:
    Virtue [resolved] [closed] Sidebar to the left and Topbar cart to the right ? (20 posts), in the second post
    “To make the sidebar float to the left add this to your theme options custom css :
    #content .main {float:right;}
    Moving the topmenu to the right it’s an easy option you will need to edit the header.php file and move where the menu shows up then add css to make it float right.”
    Voilà!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How can I move sidebar to the left?’ is closed to new replies.