Site logo

Archived topic

Custom menu color not function on mobile view

4 replies · Started by Kelvin on June 24, 2021

Viewing posts 1–5 of 5

Dear Sir/Madam,

I do set the Text Hover color to white and background hover color to dark green on Off Canvas Panel but it does not function correctly. How can I fix it?

https://prnt.sc/16mdwbb ( menu color not function on mobile view )

Hi Kelvin,

Could you check if this CSS is in your child theme style sheet?
https://www.screencast.com/t/j5zO1H3v

It interferes with the customizer settings.

Let me know if it works when you disable it :)

Dear Ying,

Below is my stylesheet in my child-theme but I found it was not affected by the child-theme styles, just the font-weight for menu-item was too low, and made the menu font not clear enough. Here is my finding. ( https://prnt.sc/16ngys0 )

h1, h2, h3, h4, h5, h6 {
    color: #364E40;
}

.gb-button,
input[type="submit"],
input[type="email"],
.wp-block-button__link,
.add_to_cart_button,
.ajax_add_to_cart,
.wp-block-button.wc-block-grid__product-add-to-cart a, .wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    border: 0px solid #000000;
}

.inside-navigation.grid-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.woocommerce .col-1, .col-2 {
    max-width:none; 
}

.woocommerce form .form-row label, .woocommerce-page form .form-row label {
    width: 100%; 
}

.woocommerce table.shop_attributes td {
    padding-left: 5px;
}

.inside-navigation.grid-container {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 15px;
    margin-right: 15px;
    padding-left: 35px;
    padding-right: 35px;
    background-color: #9FB6CA;
}

.menu-item:hover {
    background-color: none;
}

/* Fix Sticky Navigation Logo */
.header-image.is-logo-image {
    height: 80px;
    width: auto;
}

Font weight should not matter with colors.

Maybe just a cache issue, but the CSS I pointed out should not be there, the value is invalid.

Glad it's working now :)

This archived topic is closed to new replies.