Weirden Posted March 14, 2014 Posted March 14, 2014 (edited) I've seen a lot of answers for this online but can't seem to get any of them to work. On some pages I'd like to remove the banner image, but not for all. When I add code like #collection-53210a78e4b0af19e7e35792 #banner-area-wrapper { display: none; } in the Code Injection Header section or directly into the advanced tab in page settings it just ends up displaying in the upper left corner of the page. Am I putting in the right code and am I putting it in the right place? Other CSS I've used works fine but this one in particular is not cooperating. Thanks! Edited August 8, 2016 by TreyT
Solution jgennick Posted March 14, 2014 Solution Posted March 14, 2014 (edited) I used to use the following for my events page: <style> #banner-area-wrapper {display: none} </style> In my case, I went to Events Settings, the Advanced tab, and I placed the above code into the Page Header Code Injection field. I just tested this solution quickly. It still works. Edited March 14, 2014 by JonathanGennick
Weirden Posted March 14, 2014 Author Posted March 14, 2014 I'm not sure why but this made my navigation and content disappear too.
jgennick Posted March 15, 2014 Posted March 15, 2014 Add a closing angle bracket to the final style tag. Somehow I got a dot there by mistake.
Guest Posted September 6, 2015 Posted September 6, 2015 I'd like to share a solution that will display the banner image if it has been added to the page and hide it if not (this is for the Five template). First, add the following line of CSS to your Custom CSS: #page-header #banner-area-wrapper #banner-area {display:none;} Then, add the following javascript to your Footer Code-Injection: <script type="text/javascript"><!-- $(window).load(function() { var banner = $('#page-header #banner-area-wrapper #banner-area #page-thumb img'); if (banner.length) { banner.parents('#banner-area').show(); banner.each(function(img){ImageLoader.load(this);}) } }); //--></script> This assumes you've already included jQuery, of course.
krustelkram Posted April 15, 2016 Posted April 15, 2016 the simple solution does work (it didn't for me), but you need to add !importantI just pasted this into settings>advanced> code injection directly on the blog: <style> #banner-area-wrapper {display: none !important} </style> now it works and the banner is gone just on the blog.
aedunigan Posted June 23, 2016 Posted June 23, 2016 Ive tried so many codes and it has yet to work..please help :(
GreenMo Posted July 15, 2016 Posted July 15, 2016 I'm trying to do this using the Montauk template but it won't work. Has anyone had any luck with this one?
Guest Posted July 21, 2016 Posted July 21, 2016 Same issue with my site too (using the Montauk template). Any help would be appreciated. I need the Banner image on my homepage but not on other pages. Here's the sitewww.firstdaycreative.com
SVA7SVA Posted October 25, 2016 Posted October 25, 2016 (edited) For template Alex this solution for a certain page worksInsert to a page header in settings: <style> #header-wrapper > div.title-desc-wrapper.has-main-image {display: none !important} </style> Check on my site on https://catherinewoolf.squarespace.com/ Home and Calender pages Edited October 25, 2016 by SVA7SVA
snowlip7 Posted November 6, 2016 Posted November 6, 2016 HI everyone, Can someone please tell me how to hide the banners in the Shift template? I have attempted the above codes and it doesn't seem to work. Am I doing something wrong? The solution seems simple, but for some reason I can't get it to work. I"m a total beginner with CSS, so maybe I am missing a step other than simply copying and pasting above into header settings. Please help :)
Guest Posted May 23, 2017 Posted May 23, 2017 @SVA7SVA I have the SKYE template and you're only allowed to have a thumbnail image that matches your banner. They don't allow a separate banner image. I was wondering if you could set a thumbnail for a specific blogpost that doesn't display as a banner image without affecting the other blogposts where you DO want the thumbnail to display as the banner image. Thanks
Guest Posted May 25, 2017 Posted May 25, 2017 Helllo Everyone, i was very confused to hide the banner image and try to make the code but not successed then i concern with the very professional web developer that helps me as more as i need. Try to contact with them if you have any issues in your website . Thanks
mimms Posted April 16, 2018 Posted April 16, 2018 The following code worked best for me in Custom CSS on the Five Template: #cart #banner-area-wrapper {display: none}
Scandi Posted September 6, 2018 Posted September 6, 2018 (edited) Hey, I'm using the Five theme and would like to remove the banner on specific pages: https://www.mosaicartgallery.com/classic-mosaic-mirrors/https://www.mosaicartgallery.com/signature-mosaic-mirrors/https://www.mosaicartgallery.com/scenic-mosaic-mirrors/ How do I target these pages only within the css? Thanks so much! x Edited September 6, 2018 by Scandi Initial Revision
dsnvee Posted February 27, 2020 Posted February 27, 2020 Try this code: <style> .page-banner-wrapper {display:none;} </style> jkchang82, CptFeeny and beavrpls 3
CptFeeny Posted April 6, 2020 Posted April 6, 2020 dsnvee Your code was the only one that worked for me! Thank you.
divar Posted July 24, 2020 Posted July 24, 2020 Hi ! I am looking to hide banner image on one specific page on mobile only. Can anyone suggest how to achieve that? This is the page whose banner image i need to hide on mobile.
tuanphan Posted July 24, 2020 Posted July 24, 2020 2 hours ago, divar said: Hi ! I am looking to hide banner image on one specific page on mobile only. Can anyone suggest how to achieve that? This is the page whose banner image i need to hide on mobile. If you share link to your site, we can check easier. 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!)
divar Posted July 25, 2020 Posted July 25, 2020 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!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment