Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1139006

    Hi
    I’m trying to change the color of one menu item (first one phone number) to stand up more by using CSS Class( special-color) under menu options. Then I’m adding the code that is below to quick css. I tried few times and nothing seems to work to change just the color of first menu item. Can you help with that? Thank you

    (833) 4-TelCom
    Custom Link ↑ | ↓Edit Menu Item
    URL
    #
    Navigation Label
    (833) 4-TelCom
    Title Attribute
    CSS Classes (optional)
    special-color
    Menu Style

    ———

    special-color {

    color: ##e3622b !important;
    }

    This is my whole quick css

    .home main {
    padding-top:0 !important;
    }

    .avia-content-slider .slide-meta { display: none; }

    .text-slider .maintitle, .text-slider .subtitle {
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.5) !important;
    }

    #menu-item-383 > a > .avia-menu-text { color: #c3512f; }

    #top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text {
    background: transparent;
    color: #333333;
    border-bottom: 0px !important;
    }

    a:hover .avia-menu-text {
    background-color: #0e76bc !important;
    color: #fff !important;
    }

    .sub-menu > li > a {
    opacity:1;

    }
    .sub-menu > li:hover > a {
    color: #ffffff !important;
    font-weight: bold !important;
    background: #0e76bc !important;
    border: #333333 !important;
    }

    .post-meta-infos{
    display: none;
    }

    .avia-content-slider .slide-entry .slide-content {
    color: #555555;
    }

    .avia-content-slider .slide-entry-title {
    font-size: 16px;
    color: #333333 !important;
    }

    .center_this {
    left: 50%;
    transform: translateX(-50%);
    }

    special-color {

    color: ##e3622b !important;
    }

    #1139420

    Hey ilonka78,

    Please try this CSS instead:

    .special-color .avia-menu-text {
      color: #e3622b !important;
    }

    Best regards,
    Rikard

    #1139514

    Hi
    Unfortunately it doesn’t work. Any other ideas? There is something wrong in my code.
    One more thing is that when I mouse over first item it highlights and it shouldn’t.

    Thank you

    • This reply was modified 5 years, 2 months ago by ilonka78.
    #1140494

    Hi,
    Sorry for the late reply, to change the color of the phone number and remove the hover background color, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .special-color a .avia-menu-text {
    color: #e3622b !important;
    }
    .special-color a:hover .avia-menu-text {
        background-color: transparent !important;
        color: #e3622b !important;
    }

    Then clear your browser cache and any cache plugin, and check.
    If this doesn’t help, please include an admin login in the private content area so we can be of more assistance.

    Best regards,
    Mike

    #1140803

    Hi
    This also doesn’t work.
    I will include login info in the private section. Thank you

    #1140806

    Hi,
    Thank for the login, I found your issue is your plugin Hummingbird while the caching is off the minifying is on, if you look at the admin bar for your site you will see a option “see this page unminified” and if you click it the css will work.
    Please see the screenshots & link in the Private Content area.
    So please clear this or disable it.

    Best regards,
    Mike

    #1140808

    Great. Thank you so much. I would not think that was causing the issue.
    It looks great now.

    #1140982

    Hi,

    Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.