Jump to content

Hide Code Block on Mobile Only

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://agicreative.com/work/still/architecture

Site Password: password

I have some navigation I added below the banner on some pages, is there any way I can hide this or modify it for mobile view? It shows centered on mobile and doesn't look good.

If it means anything, this is the code I am using for that navigation.

<div class="still-work-navigation-container">
<a href="/work/still/architecture"class="still-work-navigation-active">architecture</a>
<a href="/work/still/food">food / beverage</a>
<a href="/work/still/healthcare">healthcare</a>
<a href="/work/still/industrial">industrial</a>
<a href="/work/still/lifestyle">lifestyle</a>
<a href="/work/still/product">product</a>
</div>

 

Edited by cmography
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

  • Solution

add to Home > design > custom CSS

@media screen and (max-width:640px) {
.still-work-navigation-container {display: none;}
}

 

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.