Home › Forums › WoodMart support forum › How to change header background colour on hover?
How to change header background colour on hover?
- This topic has 9 replies, 2 voices, and was last updated 1 year, 10 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
March 18, 2023 at 12:17 pm #452302
marcinbartkowiak1ParticipantHi, i want to change my header background colour, but ONLY on hover (only when i point mouse on header). Unfortunately there is no settings for that in woodmart theme options. Can You provide me a CSS code for that?
March 18, 2023 at 4:01 pm #452330
Aizaz Imtiaz AwanKeymasterHello,
Firstly, sorry to say but the Header as a whole doesn’t work on Hover. It works with and without Sticky.
So, you can try using the following Custom CSS on your Site to specifically change the background color of the Sticky Header:
.whb-color-dark:not(.whb-with-bg) { background-color: red !important; }
In this CSS, you can change the color from red to your choice.
Location to paste Custom CSS, go to Dashboard >> Theme Settings >> Custom CSS >> Global CSS section >> paste the CSS.
Best Regards.
April 6, 2023 at 4:11 pm #457867
marcinbartkowiak1ParticipantThanks for help!
I have another question: how can i change image size in mobile cart page? I have thumbnail there, but they are cropped.
I have treid this:
@media (max-width: 768.98px)
:is(.woocommerce-cart-form__contents,.group_table) td.product-thumbnail {
position: absolute;
top: 0;
left: 0;
overflow: hidden;
margin-bottom: 0;
padding-bottom: 0;
max-height: 150px;
border-bottom: none;
border-radius: calc(var(–wd-brd-radius) / 1.5);
}but it didn’t worked
April 7, 2023 at 9:38 am #458038
Aizaz Imtiaz AwanKeymasterHello,
Please try using the below Custom CSS code and paste it to Dashboard >> Theme Settings >> Custom CSS >> Custom CSS for mobile section:
:is(.woocommerce-cart-form__contents,.group_table) td.product-thumbnail img { min-width: 50px !important; max-width: 50px !important; }
In this CSS, you can change the values according to your choice but remember to have the same values for both mentioned properties.
Best Regards.
April 7, 2023 at 11:23 am #458086
marcinbartkowiak1ParticipantHi, it doesn’t work 🙁
Head an feet are still cropped (screen below)
Attachments:
You must be logged in to view attached files.April 7, 2023 at 3:57 pm #458163
Aizaz Imtiaz AwanKeymasterHello,
The issue that you have asked of through the Screenshot now is from a different Site then the shared Site in this Topic. So, we have checked that other Site that you have shared in Screenshot and on that please try using the following Custom CSS on your Site and paste it to Dashboard >> Theme Settings >> Custom CSS >> Global CSS section:
:is(.woocommerce-cart-form__contents,.group_table) td.product-thumbnail { overflow: visible !important; } :is(.woocommerce-cart-form__contents,.group_table) td.product-thumbnail img { margin-top: 1em !important; }
If still doesn’t work out for you then please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Hope this helps !
Best Regards
April 8, 2023 at 11:33 am #458309
marcinbartkowiak1ParticipantIt works, thanks!
Another questions:
1. In mobile menu, how can i disable grey dividers between menu items?
2. In mobile quick cart, how can i disable “close” text? I want to left only “X” mark
3. In mobile menu, how can i disable my account icon? I want only text
4. In “thank you page” the text color is green, how can i change it to black color?
April 8, 2023 at 3:31 pm #458351
Aizaz Imtiaz AwanKeymasterHello,
1- To disable the dividers between the Menu Items for Mobile Menu, please try using the below Custom CSS code and paste it to Dashboard >> Theme Settings >> Custom CSS >> Custom CSS for the mobile section:
.wd-nav-mobile li a { border-bottom: none !important; }
2- Sorry to say but that wouldn’t be possible because the “X” close icon and Close text both appear in the same anchor container which is why it wouldn’t be possible to specifically hide Close text.
But a CSS alternative can be tried in this regard if it works out for you. Please try using the below Custom CSS code and paste it to Dashboard >> Theme Settings >> Custom CSS >> Custom CSS for the mobile section:
.close-side-widget.wd-action-btn.wd-style-text.wd-cross-icon { width: 5% !important; } .close-side-widget.wd-action-btn.wd-style-text.wd-cross-icon>a { color: #fff !important; } .close-side-widget.wd-action-btn.wd-style-text.wd-cross-icon>a:before { color: #333 !important; }
3- Please try using the below Custom CSS code and paste it to Dashboard >> Theme Settings >> Custom CSS >> Custom CSS for mobile section:
.wd-nav-mobile .menu-item-account>a:before { display: none !important; }
4- Please try using the below Custom CSS code and paste it to Dashboard >> Theme Settings >> Custom CSS >> Global CSS section:
.woocommerce-thankyou-order-received { color: #000 !important; border-color: #000 !important; }
In this above CSS, you can change the color from #000 black to your choice if you want. We have also added the border-color in it because there is a border there too in green color. So, if you don’t want to change that just remove this property from the CSS.
Hope this helps !
Best Regards
April 10, 2023 at 11:59 pm #458768
marcinbartkowiak1ParticipantThank You, everything works perfect!
I have another question:
When i click on different pages on my website, my logo in header seems to “blink” for a micro second. How can i make logo more static and not blinking? (url below)
April 11, 2023 at 9:57 am #458826
Aizaz Imtiaz AwanKeymasterHello,
Sorry to say but as you know with any of the Page links being clicked, the Page gets loaded so every item on the page gets loaded too which is why the Logo Image also gets loaded and you are seeing that blink of seconds. Unfortunately, there isn’t a separate option available to control that and this is how it works.
Further, if you want to try, you can try out the following Custom CSS on your Site if it helps somehow:
.wd-logo img { animation: none !important; }
Location to paste Custom CSS, go to Dashboard >> Theme Settings >> Custom CSS >> Global CSS section >> paste the CSS.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register