• Resolved thorbjblog

    (@thorbjblog)


    Hi,

    Great plugin!

    But it’s possible to add “Submenu Background Hover Color” and “Submenu Hover Text Color” in Color Options?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rui Guerreiro

    (@takanakui)

    Hi,

    Of course it is, will add for the next update.
    In the meantime add the code below to the custom css option in General Options inside the WP Mobile Menu

    .mobmenu .sub-menu li:hover {
        background-color: #fff!important;
    }
    
    .mobmenu_content #mobmenuleft .sub-menu a {
        color: #000!important;
    }

    Adjust the colors above to your desired ones.

    It will also be necessary to do some changes inside the file style.php located in plugins/mobile-menu/includes/

    Replace this line
    background-color: <?php echo $titan->getOption("left_panel_hover_bgcolor");?> !important;

    By this one

    background-color: <?php echo $titan->getOption("left_panel_hover_bgcolor");?> ;

    And also replace this line
    color: <?php echo $titan->getOption("left_panel_submenu_text_color");?> !important;

    By this one

    color: <?php echo $titan->getOption("left_panel_submenu_text_color");?> ;

    Let me know if it worked.

    -Takanakui

    Thread Starter thorbjblog

    (@thorbjblog)

    Thanks ??

    Thread Starter thorbjblog

    (@thorbjblog)

    It works perfectly!

    Plugin Author Rui Guerreiro

    (@takanakui)

    Great. Glad it’s working.
    Will include it in the next update.

    -Takanakui

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Possible to add 2 choices in color options?’ is closed to new replies.