Home › Forums › WoodMart support forum › CSS STYLES NOT ALWAYS APPLIED
CSS STYLES NOT ALWAYS APPLIED
- This topic has 9 replies, 2 voices, and was last updated 3 years, 11 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
August 10, 2021 at 5:59 pm #311884
Jeriss Cloud CenterParticipantDear,
I’m facing a problem for which I have difficulties to identify where it comes from. If you navigate on my site, trying to move across different pages (doesn’t matter which one, just navigate), at some point, you’ll see that the icons in the header will become smaller and the mobile sidebar will be mis-aligned in the left. See attachments.
Can you help me identify why this happens? In the staging site (credentials below), I’ve disabled all plugins, switched to parent theme, removed any custom JS code, updated everything to latest version, and cleared cache everywhere. However, issue is still there.
ThanksAttachments:
You must be logged in to view attached files.August 11, 2021 at 8:25 am #311989
Aizaz Imtiaz AwanKeymasterHello,
I watched the video you attached and visited your website.
The issue you mentioned is not visible on my end the icons are not changing size. Please clear cache and check back.
Screenshot for Clarification: https://gyazo.com/adbadae317021c5493bc73325fd90866
Best Regards
August 11, 2021 at 8:26 am #311990
Jeriss Cloud CenterParticipantYou must navigate a lot on the site to find the issue. It’s not by just visiting 1 page. You must naviguate a lot, try moving multiple times across pages.
Cache has already been cleared, it is NOT a cache issue.
August 11, 2021 at 10:58 am #312023
Aizaz Imtiaz AwanKeymasterHello,
Your issue has been Resolved on the staging website. I have adjusted the CSS you are using and now the issue is not occurring on the staging site.
Please deactivate cache plugin, clear browser cache and check back.
Regards.
Xtemos StudiosAugust 11, 2021 at 2:44 pm #312071
Jeriss Cloud CenterParticipantI have deleted all custom css on the staging, and cleared all cache.
1) I don’t understand why the mobile sidebar has sometimes a padding to the left (sometimes yes, sometimes). I know that there is a 17px padding on the TITLE but not on the column/row itself.
See video : https://jeriss.tinytake.com/msc/NTcxMTczMF8xNzY0ODc5NA
2) Can you please tell me which css classes should I use to increase the font-size of each of these 4 icons separately?
See attachment.
Attachments:
You must be logged in to view attached files.August 12, 2021 at 6:55 am #312179
Aizaz Imtiaz AwanKeymasterHello,
I watched the video you attached.
1) Please try adding the following Custom CSS in the Global Custom CSS area under Theme Settings >> Custom CSS.
.mobile-nav .wd-nav-vertical>li>a { padding-left: 10px; }
2) Please try adding the following Custom CSS for that.
The following CSS is combined for the menu burger, wishlist and My account icon:
.whb-top-bar .wd-header-my-account.wd-tools-element .wd-tools-icon:before, .whb-top-bar .wd-header-wishlist.wd-tools-element .wd-tools-icon:before, .whb-top-bar .wd-header-mobile-nav.wd-tools-element .wd-tools-icon:before { font-size: 22px; }
The following CSS is for the cart icon:
.whb-top-bar .wd-header-cart.wd-tools-element .wd-tools-icon:before { font-size: 33px; }
Best Regards
August 12, 2021 at 9:33 am #312215
Jeriss Cloud CenterParticipantDear,
Thanks for your answer. Problem 2) is resolved.
But Problem 1) still remains despite the code provided. Maybe I didn’t explain the issue well. The problem is that sometimes there is a white padding on the left of the mobile sidebar. I don’t understand why sometimes it appears. It should never appear. There shouldn’t be any padding. See attachment. The issue doesn’t always appear, it appears sometimes yes sometimes no.
Attachments:
You must be logged in to view attached files.August 12, 2021 at 10:58 am #312225
Aizaz Imtiaz AwanKeymasterHello,
You are Most Welcome.
We are Glad that one of your issues has been Resolved.
Please remove the previous Custom CSS and try adding the following Custom CSS in the Global Custom CSS area under Theme Settings >> Custom CSS.
.widgetarea-mobile { padding: 0px !important; }
Regards.
Xtemos StudiosAugust 12, 2021 at 7:55 pm #312314
Jeriss Cloud CenterParticipantProblem solved, thanks!
August 13, 2021 at 6:09 am #312346
Aizaz Imtiaz AwanKeymasterMost Welcome!!!
I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.
We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.
Thanks for contacting us.
Have a great day.Topic Closed.
Best Regards. -
AuthorPosts
- You must be logged in to create new topics. Login / Register