Right-sidebar on front/home page

This topic contains 9 replies, has 2 voices, and was last updated by  Vinod Dalvi 2 months ago.

  • Author
    Posts
  • #1810
    siowze
    Participant
    • Topics: 1
    • Replies: 5
    • Total: 6

    How i show right-sidebar on homepage only?

  • #1811
    Vinod Dalvi
    Keymaster
    • Topics: 0
    • Replies: 97
    • Total: 97

    Hi @Slowze,

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

    Is your home page static page or latest post listings blog page?

    Could you please share me your site URL so that i can help you to achieve it?

    Best regards,
    Vinod Dalvi

  • #1813
    siowze
    Participant
    • Topics: 1
    • Replies: 5
    • Total: 6

    Hi, thank for your fast respond. My home page is latest post listings page, and this is my URL http://www.rebogold.com/

  • #1814
    siowze
    Participant
    • Topics: 1
    • Replies: 5
    • Total: 6

    Hi, thank for your fast respond. My home page is latest post listings page, and this is my URL http://www.rebogold.com/

  • #1819
    Vinod Dalvi
    Keymaster
    • Topics: 0
    • Replies: 97
    • Total: 97

    I don’t see any sidebar on your shared site.

    Please display the sidebar on your site so that i can provide you custom CSS code to show it only on home page and hide it on all other pages.

  • #1820
    siowze
    Participant
    • Topics: 1
    • Replies: 5
    • Total: 6

    Ok, you can see the right sidebar now.

  • #1821
    siowze
    Participant
    • Topics: 1
    • Replies: 5
    • Total: 6

    Ok, you can see the right sidebar now.

  • #1822
    Vinod Dalvi
    Keymaster
    • Topics: 0
    • Replies: 97
    • Total: 97

    You can try achieving it by adding the following CSS code in the Custom CSS code option of ruby theme on the below path.

    Admin Area -> Appearance -> Customize -> Additional CSS

    
    #secondary {
        display: none;
    }
    
    #primary {
        width: 100%;
    }
    
    body.home #secondary {
        display: block;
    }
    @media (min-width: 768px){
    body.home #primary {
        width: 66.666667%;
    }
    }
    
  • #1823
    siowze
    Participant
    • Topics: 1
    • Replies: 5
    • Total: 6

    Thank you for your kind assistance! I have spent 3 days to solve this problem and I almost give up. All I can do is give you a 5 star review. =D

  • #1824
    Vinod Dalvi
    Keymaster
    • Topics: 0
    • Replies: 97
    • Total: 97

    Thank you for your review and you are always welcome here 🙂

You must be logged in to reply to this topic.