Weirden Posted March 14, 2014 Share 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 Link to comment
Solution jgennick Posted March 14, 2014 Solution Share 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 Link to comment
Weirden Posted March 14, 2014 Author Share Posted March 14, 2014 I'm not sure why but this made my navigation and content disappear too. Link to comment
jgennick Posted March 15, 2014 Share Posted March 15, 2014 Add a closing angle bracket to the final style tag. Somehow I got a dot there by mistake. Link to comment
Weirden Posted March 21, 2014 Author Share Posted March 21, 2014 Thank you that worked perfectly! Link to comment
garudacrafts Posted September 6, 2015 Share 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. Link to comment
krustelkram Posted April 15, 2016 Share 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. Link to comment
aedunigan Posted June 23, 2016 Share Posted June 23, 2016 Ive tried so many codes and it has yet to work..please help :( Link to comment
Cabeth Posted July 13, 2016 Share Posted July 13, 2016 The suggestion above worked perfectly for me! Link to comment
GreenMo Posted July 15, 2016 Share 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? Link to comment
abhishek Posted July 21, 2016 Share 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 Link to comment
SVA7SVA Posted October 25, 2016 Share 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 Link to comment
snowlip7 Posted November 6, 2016 Share 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 :) Link to comment
snowlip7 Posted November 6, 2016 Share Posted November 6, 2016 @krustelkram do you know? Link to comment
thenyquist Posted May 23, 2017 Share 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 Link to comment
Guest Posted May 25, 2017 Share 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 Link to comment
mimms Posted April 16, 2018 Share Posted April 16, 2018 The following code worked best for me in Custom CSS on the Five Template: #cart #banner-area-wrapper {display: none} Link to comment
Scandi Posted September 6, 2018 Share 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 Link to comment
dsnvee Posted February 27, 2020 Share Posted February 27, 2020 Try this code: <style> .page-banner-wrapper {display:none;} </style> jkchang82, CptFeeny and beavrpls 3 Link to comment
CptFeeny Posted April 6, 2020 Share Posted April 6, 2020 dsnvee Your code was the only one that worked for me! Thank you. Link to comment
divar Posted July 24, 2020 Share 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. Link to comment
tuanphan Posted July 24, 2020 Share 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 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
divar Posted July 25, 2020 Share 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! 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