tuanphan Posted July 25, 2020 Share Posted July 25, 2020 2 hours ago, divar said: Hey Tuan, forgot to post the link in the original post. I want the banner image to not display when viewing on mobile. https://www.erheer.com/our-story Thanks for taking a look at this! Add to Home > Design > Custom CSS @media screen and (max-width:640px) { /* remove our story banner */ body#collection-5e3ffc51ea5b4947235a7d12 section.Intro.Intro--has-image { display: none; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
divar Posted July 25, 2020 Share Posted July 25, 2020 Thanks Tuan 👍 worked like a charm! Link to comment
vcRBS Posted October 6, 2022 Share Posted October 6, 2022 Is there any way to show the banner on the main blog page, but not on the article entries. If adding the code #banner-area {display: none} under the Advanced "Post Blog Item Code Injection," it removes the header from both the individual articles and the main blog page. Link to comment
tuanphan Posted October 8, 2022 Share Posted October 8, 2022 On 10/7/2022 at 12:21 AM, vcRBS said: Is there any way to show the banner on the main blog page, but not on the article entries. If adding the code #banner-area {display: none} under the Advanced "Post Blog Item Code Injection," it removes the header from both the individual articles and the main blog page. Try adding this to Design > Custom CSS body[class*="type-blog"].view-item #banner-area {display: none !important;} Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
donutlook Posted December 6, 2023 Share Posted December 6, 2023 Hi, I recently tried the custom code to remove the header banner, but it also got rid of the banner on all the other pages! I only input the code in one of the pages under the "Advanced" section. The banner appears in preview mode but disappears when I access my site in live mode. This is the code that I used: <style> .page-banner-wrapper {display:none;} </style> Here is the link to my page: https://www.donutlook.com/. The banner should be gone on the "Home" page. Banner should appear on the other pages. Here's an example: https://www.donutlook.com/leihoku Link to comment
tuanphan Posted December 7, 2023 Share Posted December 7, 2023 On 12/6/2023 at 4:21 PM, donutlook said: Hi, I recently tried the custom code to remove the header banner, but it also got rid of the banner on all the other pages! I only input the code in one of the pages under the "Advanced" section. The banner appears in preview mode but disappears when I access my site in live mode. This is the code that I used: <style> .page-banner-wrapper {display:none;} </style> Here is the link to my page: https://www.donutlook.com/. The banner should be gone on the "Home" page. Banner should appear on the other pages. Here's an example: https://www.donutlook.com/leihoku Can you take a screenshot of your Advanced section? (Maybe you added to Site wide advanced, instead of Page Advanced) Also, you can disable Ajax Loading, sometimes Ajax can cause this problem Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) 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