BenJG Posted September 9, 2022 Share Posted September 9, 2022 (edited) Site URL: https://www.sharemyhome.co.uk Hi, A couple of years back I put together a site which, for context, uses a bit of custom CSS for typefaces and some other minor styling points, along with code injection in the header and footer for Google Tag Manager. There have been some minor changes in terms of image removal and a bit of repositioning by the owner but nothing on a code/CSS level, since then. A few days ago the owner of the site contacted me to say the on the home page the type styles have been over-ridden to render in black (instead of a grey colour used on the other pages/the site styles and themes) the burger menu icon disappears from the mobile view, the social media icons are rendering in white/transparent in the footer, and all the container/background colours for sections have disappeared. SS themselves have said to the owner that when the site is previewed with scripts disabled it reverts back to normal, which is true. I've removed the scripts and saved the site without them as another test but that doesn't make the site render in it's normal colours etc. Besides, the tag manager script is required, which is an issue in and of itself, if removed. Does anyone have any ideas on what conflict could be causing the overrides and disappearing icons etc when the scripts are active? I've attached a couple of images to help demonstrate the issue. Edited September 9, 2022 by BenJG typo Link to comment
tuanphan Posted September 10, 2022 Share Posted September 10, 2022 Add to Design > Custom CSS /* Fix errors */ footer.sections .section-background { background-color: #f9f7f7 !important; } [data-section-id="5ef2552214ce7c31c39f4c3b"] .section-background { background-color: #386a93 !important; } [data-section-id="5ef2552214ce7c31c39f4c3b"] * { color: white; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
BenJG Posted September 12, 2022 Author Share Posted September 12, 2022 Hi @tuanphan Thanks for that CSS, it's worked perfectly for that section, though the issues with the icons in the footer rendering in white, the mobile navigation icon also rendering in white are still present, some of the background colours are still missing too. Would it be a case of finding the tags for each of these and using the same CSS above with the tag replaced to suit? I've attached more screenshots to demonstrate. Anything showing with the correct colours, is due to having scripts disabled. Appreciate your help. Link to comment
tuanphan Posted September 17, 2022 Share Posted September 17, 2022 On 9/12/2022 at 3:48 PM, BenJG said: Hi @tuanphan Thanks for that CSS, it's worked perfectly for that section, though the issues with the icons in the footer rendering in white, the mobile navigation icon also rendering in white are still present, some of the background colours are still missing too. Would it be a case of finding the tags for each of these and using the same CSS above with the tag replaced to suit? I've attached more screenshots to demonstrate. Anything showing with the correct colours, is due to having scripts disabled. Appreciate your help. The problem comes from SS, it can happen in many sites, you should contact to see if they can fix it soon. If they still don't have a solution soon, I will give the code for the whole thing. But I guess will require a lot of code Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
unklesa Posted September 30, 2022 Share Posted September 30, 2022 I have the exact same problem, i only added some custom code to change the colour of the logo in some pages. it worked fine until last week and still does on all pages apart from the home page. Like BenJG, footer rendering in white, header text black instead of white, mobile navigation gone. When i remove the code from the page everything is ok apart from the logo that i need it to be negative. Is there any simple way around this? I m not good with code website is: unklesa.org Link to comment
unklesa Posted September 30, 2022 Share Posted September 30, 2022 first photo shows problem, second is the code i have added, 3rd is when scripts are removed Link to comment
tuanphan Posted October 1, 2022 Share Posted October 1, 2022 16 hours ago, unklesa said: first photo shows problem, second is the code i have added, 3rd is when scripts are removed First, Line 7 need a closing </style> tag Next, Line 1 is invalid code Next, to make nav to white, use this code <style> div.header-nav-item a { color: white !important; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
unklesa Posted October 2, 2022 Share Posted October 2, 2022 I can't thank you enough, this worked perfectly! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment