How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums Child Themes support Sidebar from right to left

This topic contains 3 replies, has 2 voices, and was last updated by  admin 1 week, 1 day ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5675

    Carlos
    Participant

    Hi,

    In the casinoAce theme I want to move the sidebar from right to left. Is there a piece of css code for this in the child theme?
    Or is there a handy plugin such as Widget Options, where only widgets can only be switched off / on for a sidebar?

    Regards,

    Carlos

    #5679

    admin
    Keymaster

    Hi Carlos because Casino Ace is using Bootstrap 4 for the CSS framework you can use its reordering classes to change the order of the sidebar.
    For example if you add the class “order-first” in the “col-sidebar” element the sidebar is going to the left.
    For more information about the available classes see here: https://getbootstrap.com/docs/4.3/layout/grid/#reordering

    The plugin “Widget Options” is for a completely different case, it is so you can display different widgets in pages,categories,posts,etc.
    So you can have multiple sidebars to your site.

    #5692

    Carlos
    Participant

    Hi,

    Thanks for your feedback.
    For the CSS framework I need an example, because I have no experience with Bootstrap 4.
    I go to the built-in CSS editor in WordPress (Additional CSS) and type in the code to align the side-bar of the casinoAce theme on the left: … ?? 🙂

    Carlos

    #5723

    admin
    Keymaster

    Hi Carlos,

    No problem, you can add the following in your Additional CSS:

    .col-sidebar { order:-1; } @media (max-width: 767px) { .col-sidebar { order:1; } }

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

You must be logged in to reply to this topic.