Your Time:
Our Time:
← Back to discussions

Sidebar Active Page Color

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 9 replies, 4 voices, and was last updated 7 years, 2 months ago by CatMissile.

  • 2017-01-17 at 8:19 pm
    Support Expired
    #18681
    candiecaine103
    Participant
    • Topics: 3
    • Replies: 2
    • Total posts: 5
    • Post count: 2

    I’m trying to figure out how to change the active page color in my sidebar. I changed my overall theme color to be purple, but the sidebar is still in the default blue color. How can I change this so that it matches my site design?

    Also, I noticed the arrow isn’t spaced out next to the words like it looks on the demo content.

    I’ve attached a screenshot of the page so that you can see what I am talking about. Any help will be greatly appreciated.

    Thanks.

    2017-01-18 at 10:41 am
    #18690
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Kindly provide your website url so that we can take a closer look at it.

    2017-01-19 at 1:26 am
    Support Expired
    #18703
    candiecaine103
    Participant
    • Topics: 3
    • Replies: 2
    • Total posts: 5
    • Post count: 2

    The website hasn’t been launched yet, so I don’t have an active link for the page. I’m referring to the sidebar in the screenshot under “Meet Our Leaders”. I want the active page link (Supt. DeWayne Tillman) to be in purple, instead of the blue. That was the default color, but I changed the theme to the same purple as the heading bar.

    2017-01-19 at 10:38 am
    #18718
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Paste the below code in your theme options Hopes > Styling > Custom CSS

    .sub_nav li.current_page_item > a { 
        background-color: #800080; // Choose your color
    }
    .sub_nav li.current_page_item > a, .sub_nav li.current_page_item > a:hover {
      background-color: #800080; // Choose your color
    }
    2017-01-27 at 11:38 am
    #18897
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    We are setting this topic to be resolved. If you wish to update this topic please reply here instead of creating another topic.

    2019-07-09 at 5:42 am
    Unknown Support Status
    #25534
    CatMissile
    Participant
    • Topics: 4
    • Replies: 13
    • Total posts: 17
    • Post count: 17

    I am having the same issue as the original poster above. I tried using the custom CSS in the fourth post down to see if I could make a change, but that doesn’t seem to work – it had no effect. Menu remains blue, and the arrow is “cramped” up against the actual menu item text.

    Here’s the link to our dev site so you can see what I mean: dev site

    • This reply was modified 7 years, 2 months ago by CatMissile.
    2019-07-09 at 12:31 pm
    #25536
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Paste the below code in your custom css

    #menu-youth-kids li.current_page_item > a {
    background-color: #bc602b;
    }
    #menu-youth-kids li.menu-item > a {
    padding-left: 25px;
    }

    • This reply was modified 7 years, 2 months ago by Fem.
    • This reply was modified 7 years, 2 months ago by Fem.
    2019-07-10 at 1:59 am
    Unknown Support Status
    #25542
    CatMissile
    Participant
    • Topics: 4
    • Replies: 13
    • Total posts: 17
    • Post count: 17

    Thank you. I pasted that CSS in and, while the padding-left for text works, the blue color still remains for current_page_item.

    2019-07-10 at 11:14 am
    #25544
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    You have to add important with the background-color property. Check the below code.

    #menu-youth-kids li.current_page_item > a {
    background-color: #bc602b !important;
    }

    • This reply was modified 7 years, 2 months ago by Fem.
    2019-07-10 at 8:15 pm
    Unknown Support Status
    #25546
    CatMissile
    Participant
    • Topics: 4
    • Replies: 13
    • Total posts: 17
    • Post count: 17

    That worked. Thanks!

The topic ‘Sidebar Active Page Color’ is closed to new replies.