Home › Forums › WoodMart support forum › How to turn off the background shadow of the top menu
How to turn off the background shadow of the top menu
- This topic has 26 replies, 2 voices, and was last updated 4 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
February 20, 2025 at 10:17 am #639565
shenlingParticipant1. When I set the background of the top menu on the homepage to be transparent, how can I turn off the background shadow of the top menu? The screenshot is as follows
https://prnt.sc/2F5DswMsQLPR2. How to set the header menu so that when the mouse moves to any position or text at the top, the header menu background changes to white with black text.
https://prnt.sc/wy4sGsu3XcVJ
https://prnt.sc/oDxqS67PTtmBFebruary 20, 2025 at 10:58 am #639577
shenlingParticipant3.When I scroll down the page, the sticky menu has no logo, and I want to set it to black text on a white background. How can I set it?
https://prnt.sc/xdXWpr0Tqh8ZFebruary 20, 2025 at 2:34 pm #639654
Aizaz Imtiaz AwanKeymasterHello,
01. Navigate to WoodMart > Header Builder > Edit Current Header > Edit the Header row > Configure the header row settings and disable the option “Shadow”.
02. You can adjust the menu font color and hover color by navigating to Theme Settings > Typography > Advanced Typography and creating a new rule for the “Main Navigation Links” item: https://ibb.co/h7NwMp5
To add the background, Navigate to WoodMart > Header builder > edit default header (highlighted star icon) or you can go through the admin bar directly https://prnt.sc/Ct9ehRDvvDV9 and Configure Main menu settings and in the style tab choose the menu style “background”: https://prnt.sc/9V6efcVrF9Yg
03. Please Go to Woodmart >> Header builder >> Edit header >> Edit logo and try adding the sticky header logo in black color: https://ibb.co/CKQkw1rz
Best Regards,
February 20, 2025 at 3:02 pm #639666
shenlingParticipantThank you for your reply. I have fixed points 1 and 3.
However, regarding the second point, I think you may have misunderstood me. I will provide a video so you can see the effect more clearly. When the mouse moves to the header position, the entire top background turns white.
February 21, 2025 at 7:54 am #639786
Aizaz Imtiaz AwanKeymasterHello,
Can you please share the URL of your site so I can check and give you a possible solution.
Best Regards,
February 21, 2025 at 3:02 pm #639948
shenlingParticipantI have placed the website and administrator account password in Private content. Please Check.
February 22, 2025 at 8:31 am #640077
Aizaz Imtiaz AwanKeymasterHello,
Please add this code to the Theme Settings > Custom CSS > Global:
.whb-main-header:hover { background-color: #000000 !important; }
Best Regards,
February 22, 2025 at 8:41 am #640079
shenlingParticipantThanks
The current display is black background, if I want to change it to white background. How can I set the menu and logo to black font?
February 22, 2025 at 2:49 pm #640145
Aizaz Imtiaz AwanKeymasterHello,
You can change the menu font color by following these steps:
1. Navigate to: Theme Settings > Typography > Advanced Typography
2. Create a new rule for the “Main Navigation Links” item.
3. Adjust the color settings as needed.https://ibb.co/h7NwMp5For detailed instructions, please refer to the documentation:
https://xtemos.com/docs/woodmart/advanced-typography-settings/For the logo color change, you will need to upload a different image of your logo with a black color on a white background.
Best Regards,
February 22, 2025 at 5:44 pm #640176
shenlingParticipantHi,
Thanks for your reply.
Maybe you misunderstood what I meant. I mean that after adding this,
.whb-main-header:hover {
background-color: #000000 !important;
}
The top of my homepage has a black background when it is hovering.
https://prnt.sc/zA1hQvlKqu-BBut I don’t want to set it to a black background; I want to set it to a white background instead.
This is the reference page:
https://prnt.sc/mG5alQML4A5qFebruary 24, 2025 at 8:47 am #640301
Aizaz Imtiaz AwanKeymasterHello,
You can change the header background color code to white and then use this custom css for the header hover color. Please add this code to the Theme Settings > Custom CSS > Global:
.whb-main-header:hover .nav-link-text { color:#000000 !important; } .whb-main-header:hover .wd-tools-element .wd-tools-icon { color:#000000 !important; } .whb-main-header:hover .wd-header-cart.wd-design-2 .wd-tools-text { color:#000000 !important; }
Best Regards,
February 24, 2025 at 9:37 am #640312
shenlingParticipantI have added the code, however, The white logo becomes invisible on hover due to background color conflict.
February 24, 2025 at 2:59 pm #640489
Aizaz Imtiaz AwanKeymasterHello,
Now I have checked your site, and on hover, the black logo image appears on the white background. Let me know if you need any further adjustments.
See Screenshot for clarification: https://ibb.co/35GWpg0r
Best Regards,
February 24, 2025 at 3:08 pm #640492
shenlingParticipantBecause I added the code:
.whb-main-header:hover .site-logo {
filter:
invert(100%) /* 反色处理 */
brightness(0) /* 亮度归零确保纯黑 */
saturate(100%) !important;
}February 25, 2025 at 8:53 am #640699
Aizaz Imtiaz AwanKeymasterHello,
I see, thanks for the clarification. Let me know if you need further adjustments!
Best Regards,
March 5, 2025 at 7:18 pm #643172
shenlingParticipantHi,
When I first enter the site, the slides are slow to load. When I enter, it is completely blank. How can I fix or resolve this?
https://prnt.sc/iKWz6v-gvXwGMarch 6, 2025 at 9:20 am #643272
Aizaz Imtiaz AwanKeymasterHello,
I have checked your site and the slides are showing fine now.
See Video for clarification: https://uploadnow.io/f/FNrXKG1
Check back yon our site and check the issue.
Best Regards,
March 6, 2025 at 2:12 pm #643428
shenlingParticipantSlides loads very slowly, causing the website to display blank when users first open it. Is there any way to solve this problem? The pictures are displayed as soon as the website is opened.
March 6, 2025 at 3:48 pm #643479
Aizaz Imtiaz AwanKeymasterHello,
I do not think that the issue is in the Slider itself. The site, in general, takes some time to load.
After conducting a speed test on your website via PageSpeed, I recommend that you review the following suggestions:
Largest Contentful Paint element – You need to optimize your site in general to improve this parameter. https://web.dev/articles/lcp
Eliminate render-blocking resources – you may try solutions described here https://onlinemediamasters.com/eliminate-render-blocking-resources-wordpress/
Serve images in next-gen formats (https://ibb.co/ccgLqLLC ): Consider using a plugin or service that will automatically convert Ensure text remains visible during webfont load uploaded images to the optimal formats e.g ‘Imagify’ from the Image Optimization tab in ‘WP Rocket’ to convert your images to WebP.
Minimize main-thread work – I suggest using the Wp Rocket to fix it, more details are here: https://wp-rocket.me/google-core-web-vitals-wordpress/minimize-main-thread-work/
Try testing your site on PageSpeed Insights, check the detailed report, and optimize accordingly.
Our guide on how to optimize your website using our themes can be found here: https://xtemos.com/wordpress-performance-optimization-the-ultimate-guide-in-2021/
Best Regards,
March 8, 2025 at 9:17 am #644041
shenlingParticipantHi,
When I create a new page using Elementor, the edited content is misaligned and not centered. How can I fix this?
https://prnt.sc/Ae6OsF5dmhPsMarch 8, 2025 at 1:32 pm #644090
Aizaz Imtiaz AwanKeymasterHello,
The misalignment issue may be due to the sidebar being enabled on your page. To fix this:
Edit the Page in Classic Editor > Scroll to the Page Settings at the bottom.
Disable the Sidebar and check the issue: https://xtemos.com/docs-topic/options-for-pages/
Please try this and let us know if you need further assistance.
Best Regards,
March 9, 2025 at 7:23 am #644191
shenlingParticipantThanks,
But when I edit the slides, it displays fine, but when I preview it, there is a blank space on the right. Below is a screenshot.
https://prnt.sc/4sSXdUHYGNYD
https://prnt.sc/T14OhJ6YoDIkMarch 10, 2025 at 10:37 am #644359
Aizaz Imtiaz AwanKeymasterHello,
The blank space on the right might be due to:
Background Size Issue – The image might not be set to Cover properly. Edit the container and in the style tab change the background display size: https://ibb.co/HT1rr6cR
Container Width / Padding – Extra padding or margins causing overflow. Go to Advanced Tab:
* Padding: Set Left & Right to 0px
*Margin: Ensure no negative values causing overflowIf you have any questions feel free to contact us.
Best Regards,
March 10, 2025 at 12:08 pm #644414
shenlingParticipantI have set it up, but it still doesn’t work. Here are the screenshots.
https://prnt.sc/8EZQHdWEGTKv
https://prnt.sc/nVefcsDigCYoMarch 11, 2025 at 3:49 pm #644814
Aizaz Imtiaz AwanKeymasterHello,
Could you please share the URL of the page where this slide is located? I’ll check it and provide a possible solution.
Best Regards,
March 12, 2025 at 6:03 pm #645313
shenlingParticipantThe page takes too long to load, which seems abnormal. I am using a cloudways 2-core 4G server
https://prnt.sc/Do56waE3bTo0March 13, 2025 at 12:55 pm #645540
Aizaz Imtiaz AwanKeymasterHello,
Our theme is optimized for speed and should not significantly slow down your website. However, it’s possible that your website’s performance is affected by the content you have added. For instance, the use of too many plugins, large unoptimized images, or other resources can slow down your website.
We recommend that you remove any unnecessary plugins and install a JS & CSS optimization plugin such as WP Rocket. Our guide on how to optimize your website using our themes can be found here: https://xtemos.com/wordpress-performance-optimization-the-ultimate-guide-in-2021/
Best Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register