Guest Posted May 1, 2013 Share Posted May 1, 2013 I am trying to hide the navigation bar to build a landing page. Link to comment
Guest Posted May 8, 2013 Share Posted May 8, 2013 If you inject the following code on the page it seems to do the trick really well. The unintended consequence is the main banner is hidden as well. It is easy enough to just add a block that looks like the banner so the problem is solved. <style> #header { display: none } </style> Link to comment
kale Posted May 8, 2013 Share Posted May 8, 2013 You could hide just the navigation bar (and keep the original banner) by using this CSS instead: .primary-nav { display: none; } Link to comment
Guest Posted June 12, 2013 Share Posted June 12, 2013 Is this also possible with only the logo not showing? On my landingspage I want the navigation bar to be shown, but not the logo. Link to comment
henry puttick Posted June 12, 2013 Share Posted June 12, 2013 find the ID associated within the home page and display:none to the logo. i think its #page ID then add your logo style and display as none Link to comment
Guest Posted June 12, 2013 Share Posted June 12, 2013 [page ID] #collection-51b08e86e4b0e8d244ddb638 [Logo style] {img src="item/51b86ecae4b06b939d356f95?format=original" ; display: none; } I tried this but it stilll gives an error. I know something is wrong but I don't have any idea where the problem is. I hope you could help me with it. Link to comment
Guest Posted June 12, 2013 Share Posted June 12, 2013 [page ID] #collection-51b08e86e4b0e8d244ddb638 [Logo style] {img src="item/51b86ecae4b06b939d356f95?format=original" ; display: none; } I tried this but it stilll gives an error. I know something is wrong but I don't have any idea where the problem is. I hope you could help me with it. Link to comment
henry puttick Posted June 12, 2013 Share Posted June 12, 2013 where is the navigation, it doesnt seem to be showing at all :). I must be going mad over here, unless you have already hidden it. willing to help out EDIT .mobile-nav, .show-nav {display: none;}That shows your nav being on this particular page as being hidden. Do you want that hidden or not. Also are you making the page your working on to be the landing page? or is just a test. Link to comment
Guest Posted June 12, 2013 Share Posted June 12, 2013 Haha oh sorry, I obviously did not made my point clear. Yes, I want the page to be a landingspage. So I want the navigation to be seen (like on every page), and the logo to be hidden on only the landing page. Link to comment
ktatley Posted June 16, 2013 Share Posted June 16, 2013 Hi - I can see you have hidden the navigation and banner on your site. But when I try to do this on mine it doesn't work. I don't think that it is because of caching because when I view source code I can see that the source code is there. Are you doing something else? Link to comment
Guest Posted June 17, 2013 Share Posted June 17, 2013 I did not do anything other than using the code injection block. Sorry. I am quite new to all of this. if you do find what the hangup is I would love to know so that I can avoid it. Thanks Link to comment
kale Posted June 17, 2013 Share Posted June 17, 2013 I'm not sure what template you're using, so it might vary, but using the FIVE template, you can remove the logo but leave the navigation in using this CSS: #collection-yourcollectionid123456789 #banner-wrapper { display: none !important; } Link to comment
Guest Posted November 12, 2014 Share Posted November 12, 2014 Hey community,I am trying to make a splash page before my official launch of my website. I have two buttons on my page, one that says "SUBSCRIBE" and the other a "Contact us" form. My goal is once the subscribe button is clicked, it'll lead to a subscribe to newsletter page. However, on this specific page, I want the navigation bar gone but the Logo and logo title to remain. I've tried entering this in "advance" for my subscribe page with; ".primary-nav { display: none; }" but it doesn't work. I'm a complete newbie at this! I've also used this CSS: "l" which works, but removes the navigation bar and logo. Please help! Thank you :)TSB Link to comment
Iris1570048170 Posted March 8, 2016 Share Posted March 8, 2016 I just wanted to add that in the Five template it doesn't work with just #header it is #page-header-wrapper in the menu Configure page --> Advanced --> Page header Code injectionThis removes everything on the top of your page: <style> #page-header-wrapper { display: none; } </style> I use Chrome to help find the id, you can right click on an element of a page an choose "Inspect" in the menu, it will open the source code at the position of that element and marks this section. There you find also the id= "#page-header-wrapper" ... If you go just on the logo you will see that it maybe has a different id, so you can find the element id's within the page-header-wrapper if you want to hide things separately. The page-header-wrapper is everything on top of the page, so on my page there is no navigation, no logo or background banner visible and the rest of the page moves up. Hope that helps others to identify id's and hide things on single pages. Link to comment
lashwood Posted March 8, 2016 Share Posted March 8, 2016 The Cover Page is a low hanging fruit option to achieve this if you want to keep it simple. https://support.squarespace.com/hc/en-us/articles/212467418-About-Squarespace-Cover-Pages Link to comment
evanjtravis Posted April 21, 2018 Share Posted April 21, 2018 Use the class selector to set the display to none. This will keep your banner at the top of the page, but not your navigation. .Header-nav-item{ display: none; } Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.