Viewing 12 replies - 1 through 12 (of 12 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Are you sure you need to go 2 <ul> levels deep?

    Thread Starter HaloBing

    (@halobing)

    that is default css on this theme i think because i didnt change anything

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Where are you adding your CSS modifications?

    Thread Starter HaloBing

    (@halobing)

    at bottom of style.css

    but here I think is problem in conflict that qtrans dont have hover and <nav> have it so, css is applying on qtrans

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I can’t see that CSS modification (the code in your original post) in your Child Theme style.css file http://apartmens-pliva.com/wp-content/themes/vatange-child/style.css?ver=1.1.2

    Are you sure you’re working on the right file?

    Thread Starter HaloBing

    (@halobing)

    under

    /* Dodane stvari */

    translate : (Added stuff)

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Put this at the bottom of your Child Theme style.css file:

    .main-navigation #language li:hover,
    .main-navigation #language li a:hover {
     background-color: none;
    }

    It’ll be something like that.

    Make sure you do your changes in the Child Theme.

    Thread Starter HaloBing

    (@halobing)

    it doesn’t work…

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It wasn’t supposed to, but you get the idea right?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try this:

    .main-navigation #language li:hover {
    	background-color: transparent;
    }
    
    .main-navigation #language li.lang-en a:hover {
    	background: url(/wp-content/plugins/qtranslate/flags/gb.png) no-repeat;
    }
    
    .main-navigation #language li.lang-rs a:hover {
    	background: url(/wp-content/plugins/qtranslate/flags/rs.png) no-repeat;
    }

    Thread Starter HaloBing

    (@halobing)

    Yes i know..

    But:

    http://prntscr.com/26jxnz

    .main-navigation .qtrans_language_chooser li:hover,
    .main-navigation .qtrans_language_chooser li a:hover {
     background-color: none;
    }

    http://prntscr.com/26jy4h

    .main-navigation .qtrans_language_chooser li:hover,
    .main-navigation .qtrans_language_chooser li a:hover {
     opacity: 0.4;
    }

    well line is ok but how to disable :/

    Thread Starter HaloBing

    (@halobing)

    I had to change 2 lines

    .main-navigation ul li :hover {
    background: #00bcff;
    color: #FFFFFF;
    }

    to
    .main-navigation ul li :hover {color: #FFFFFF;}

    and add

    #qtranslate-chooser li:hover {
    	background:none;
    }

    thank you on tips 🙂

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Help, hover on menu.’ is closed to new replies.