OnPoint Plugins

  • Plugins
    • Advanced Sidebar Menu
    • Go Live Update Urls
  • About
    • Services
    • Showcase
  • Blog
  • Contact
  • Support
  • Log In
← Back to support

Proper CSS Control

Resolved

Requested: 3 years and 12 months ago

Hi Mat,  I’m trying to use CSS in a child theme to control my sidebar menu appearance without success. I’m editing the style.css directly through the WP Editor.  I’m using ET Divi.  Below is a snippet of the Source code from my page’s menu:
<div id=”advanced-sidebar-navigation-menu-3-wrap” data-js=”advanced-sidebar-navigation-menu-3-wrap”><ul id=”menu-sidebarmenumetals” class=”parent-sidebar-menu”>
I think I’m not picking the right selector. I’ve tried many combinations like the three below and nothing has altered the menu.

#advanced-sidebar-navigation-menu-3 {
padding-top: 10px;
padding-bottom: 10px;
border-top: 10px solid blue;
border: 5px solid blue;
}

and

.advanced-sidebar-menu{
padding-top: 10px;
padding-bottom: 10px;
border: 5px solid green;
}

Could you point out to me what I’m doing wrong?  Do you have example pages that might help me with layouts I like that I can cut and paste?

Thanks Mat,  Nice plugin,

Mike

Plugin: Advanced Sidebar Menu

  1. OnPoint Plugins

    3 years and 12 months ago

    Hi Mike,

    Your CSS is correct. When I added it to your site I do see the border.

    I did notice your style.css is cached for one year in browsers, so you may just need to empty your browser cache to see your changes.

    Alternatively you may add CSS to your site using this method.

    Have a great day!

    Mat Lipe

     

  2. moliver1

    3 years and 12 months ago

    Hi Mat, Thanks for the heads up.  I disabled my cache and like magic things started to work.  I did see that I should update my version count on my CSS child theme each time I save to get the cache to auto refresh the page.  Might help someone else.  Mike

New Response Cancel reply

You must be logged in to respond. Only PRO members are allowed to respond to support requests.

© 2023 · WordPress Development · Terms Of Service · Privacy Policy · Cookie Policy · Log in

  • Plugins
  • Blog
  • Contact