Sidebar - Sticky

Home Forums Jevelin Theme Sidebar – Sticky

Home Forums Jevelin Theme Sidebar – Sticky

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    RESOLVED Posts
  • staterequirement
    Participant

    I’m trying to make the contents of my right sidebar sticky.

     

    the name of the element is <!–

    #sidebar.sidebar-right

    I am trying to use this code in my custom css

     

    .sidebar-right {
    position: fixed;
    }

     

    It is making the contents of the bar sticky, but is moving them to a different location on the page.

     

    Image 1 is the bar in the default and correct location.

    Image 2 is the bar in the wrong location (look in the text on the left), but is sticky.

    Also, I use the Custom Sidebars plugin to give myself page specific sidebars.  There are not any options in the widget itself to change.

    Attachments:
    You must be logged in to view attached files.

    Hi @staterequirement,

     

    I hope you are well today and thank you for your question.

     

    Could you please share me the page URL from your site where it is displaying so that i can help you to achieve it?

     

    Alternatively you can make it sticky using below plugin.

     

    https://wordpress.org/plugins/q2w3-fixed-widget/

     

    Best regards,
    Shufflehound team

    Solution for this topic

    You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    #sidebar.sidebar-right {
        position: fixed;
        right: 0;
    }

    staterequirement
    Participant

    Awesome fix!

    Thank you so much!!!

    You are most welcome here 🙂

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