101_kimmy Posted August 10, 2020 Share Posted August 10, 2020 I am trying to change the banner copy to black on one page only but I can't seem to get it to work. It will affect everything site wide. I've tried a lot of things that seem to work for others but aren't working for me so I don't know what the solution is. I can't seem to find a block ID for the banner copy and collection ID's don't seem to be working. This works but is changing all pages: .collection-type-page.show-page-banner.banner-text-alignment-center .page-text-wrapper .page-title { color: #000000 !important; } If I put it in the header code injection of the page (pages > click gear icon > advanced) it will work perfectly within the builder but as soon as I preview the site in the browser it stops working completely. Sooo frustrating!!! This does not work: #collection-5f1ffbd0d7d2395c497533c7 { .collection-type-page.show-page-banner.banner-text-alignment-center .page-text-wrapper .page-title { color: #000000 !important; } } Link to comment
tuanphan Posted August 10, 2020 Share Posted August 10, 2020 #collection-5f1ffbd0d7d2395c497533c7 { .page-text-wrapper .page-title { color: #000000 !important; } } 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
101_kimmy Posted August 11, 2020 Author Share Posted August 11, 2020 Thank you @tuanphanthat works perfectly 🙂 ... you dont know how to make the banner height shorter without it affecting the whole site do you? Link to comment
tuanphan Posted August 11, 2020 Share Posted August 11, 2020 If you use #collection id, it will affect on One page only 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
101_kimmy Posted August 12, 2020 Author Share Posted August 12, 2020 I've tried to do this and its not working ... maybe I'm just inputting the wrong code. What code would you write for banner height, incorporating the #collection id? Ive been using ... .collection-type-album.show-album-banner.full-bleed-banner .page-banner-wrapper, .collection-type-blog.view-list.show-blog-banner.full-bleed-banner .page-banner-wrapper, .collection-type-events.view-list.show-events-banner.full-bleed-banner .page-banner-wrapper, .collection-type-gallery.show-gallery-banner.full-bleed-banner .page-banner-wrapper, .collection-type-page.show-page-banner.full-bleed-banner .page-banner-wrapper, .collection-type-products.view-list.show-products-banner.full-bleed-banner .page-banner-wrapper, .homepage.show-homepage-banner:not(.collection-type-index):not(.collection-type-project).full-bleed-banner .page-banner-wrapper { height: 60vh !important; } which works perfectly ... but as soon as I add the collection into it (below) then it stops working. Any ideas? #collection-5f1ffbd0d7d2395c497533c7 { .collection-type-album.show-album-banner.full-bleed-banner .page-banner-wrapper, .collection-type-blog.view-list.show-blog-banner.full-bleed-banner .page-banner-wrapper, .collection-type-events.view-list.show-events-banner.full-bleed-banner .page-banner-wrapper, .collection-type-gallery.show-gallery-banner.full-bleed-banner .page-banner-wrapper, .collection-type-page.show-page-banner.full-bleed-banner .page-banner-wrapper, .collection-type-products.view-list.show-products-banner.full-bleed-banner .page-banner-wrapper, .homepage.show-homepage-banner:not(.collection-type-index):not(.collection-type-project).full-bleed-banner .page-banner-wrapper { height: 60vh !important; } } Btw I just copied this code out of the inspect element so some of it may be unnecessary 🙂 Link to comment
tuanphan Posted August 12, 2020 Share Posted August 12, 2020 You can edit page > Add Code Block > Add this code <style> .collection-type-album.show-album-banner.full-bleed-banner .page-banner-wrapper, .collection-type-blog.view-list.show-blog-banner.full-bleed-banner .page-banner-wrapper, .collection-type-events.view-list.show-events-banner.full-bleed-banner .page-banner-wrapper, .collection-type-gallery.show-gallery-banner.full-bleed-banner .page-banner-wrapper, .collection-type-page.show-page-banner.full-bleed-banner .page-banner-wrapper, .collection-type-products.view-list.show-products-banner.full-bleed-banner .page-banner-wrapper, .homepage.show-homepage-banner:not(.collection-type-index):not(.collection-type-project).full-bleed-banner .page-banner-wrapper { height: 60vh !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
101_kimmy Posted August 12, 2020 Author Share Posted August 12, 2020 Thanks for your reply ... I tried it but it doesn't seem to work at all. I also tried it in the CSS editor but no luck 🤔 Link to comment
tuanphan Posted August 12, 2020 Share Posted August 12, 2020 Use Code Block, if it doesn't work, try disable ajax loading. https://support.squarespace.com/hc/en-us/articles/115000253288-Ajax-loading 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
101_kimmy Posted August 12, 2020 Author Share Posted August 12, 2020 Still no luck ... it doesn't seem to work at all even when I'm putting it in a code block and disabling ajax! 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