Jump to content

Change Navigations Style on Mobile

Recommended Posts

Try adding to Design > Custom CSS

@media screen and (max-width:767px) {
nav.main-nav ul {
    display: block !important;
}
select#mobileSelect {
    display: none;
}
#navBlock nav:after {
    opacity: 0 !important;
    visibility: hidden !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
9 minutes ago, tuanphan said:

Try adding to Design > Custom CSS

@media screen and (max-width:767px) {
nav.main-nav ul {
    display: block !important;
}
select#mobileSelect {
    display: none;
}
#navBlock nav:after {
    opacity: 0 !important;
    visibility: hidden !important;
}
}

 

Hi there! It worked! I do still see the "v" arrow for the nav bar tough. Is there a way to remove that?

Plus is there a way to reduce the nav font on mobile?

Thanks

Link to comment
17 hours ago, Contz said:

Hi there! It worked! I do still see the "v" arrow for the nav bar tough. Is there a way to remove that?

Plus is there a way to reduce the nav font on mobile?

Thanks

Use this new code

@media screen and (max-width:767px) {
nav.main-nav ul {
    display: block !important;
}
select#mobileSelect {
    display: none;
}
#navBlock nav:after {
    opacity: 0 !important;
    visibility: hidden !important;
}
/* nav font */
nav.main-nav * {
    font-size: 10px !important;
}
}

With arrow, I see you solved?

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
7 hours ago, tuanphan said:

Use this new code

@media screen and (max-width:767px) {
nav.main-nav ul {
    display: block !important;
}
select#mobileSelect {
    display: none;
}
#navBlock nav:after {
    opacity: 0 !important;
    visibility: hidden !important;
}
/* nav font */
nav.main-nav * {
    font-size: 10px !important;
}
}

With arrow, I see you solved?

Yes! Super thanks so much for your support!

Do you know a way to change part of the text, like "July" or "Comments" in another language?

Since all the site is in Italian while those remained in English.

Thanks again!

Link to comment
22 hours ago, Contz said:

Yes! Super thanks so much for your support!

Do you know a way to change part of the text, like "July" or "Comments" in another language?

Since all the site is in Italian while those remained in English.

Thanks again!

Which template do you use? I need to test some code.

(Also, this will require a Business Plan or higher)

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

With date, you can consider change date text to number, with this CSS

time.published:after {
    content: attr(datetime);
    font-size: 20px;
}
time.published {
    font-size: 0;
}

 

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
7 hours ago, tuanphan said:

Which template do you use? I need to test some code.

(Also, this will require a Business Plan or higher)

I'm using the "Native" template. I have a permanent free account since I won a contest with them 

Link to comment
4 hours ago, Contz said:

I'm using the "Native" template. I have a permanent free account since I won a contest with them 

Your plan is personal or business or commerce?

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
2 hours ago, Contz said:

personal

Hi. Not possible with Personal Plan. You can consider hiding it, add a new text instead. However, with this method, it will not be possible to display the number. For example Comments (2), will only be able to display Comments [new language]

And, can't translate date/month

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
On 7/14/2022 at 11:18 AM, tuanphan said:

Hi. Not possible with Personal Plan. You can consider hiding it, add a new text instead. However, with this method, it will not be possible to display the number. For example Comments (2), will only be able to display Comments [new language]

And, can't translate date/month

Thanks so much!

One last question, do you know why I can change the search output font and color when it doesn't find anything on my site? 

https://gwtf.it/search?q=Iphone Homescreen&f_collectionId=62c932157e4961711a8f62f3

I am using this: 

 

sqs-search-page-notice {
  color: #b4b4b4 !important;
  font-size: 20px !important;
}

 

But it stays black and with a different font 😞

Link to comment
19 hours ago, Contz said:

Thanks so much!

One last question, do you know why I can change the search output font and color when it doesn't find anything on my site? 

https://gwtf.it/search?q=Iphone Homescreen&f_collectionId=62c932157e4961711a8f62f3

I am using this: 

 

sqs-search-page-notice {
  color: #b4b4b4 !important;
  font-size: 20px !important;
}

 

But it stays black and with a different font 😞

Use this 

.sqs-search-page-notice {
    color: white !important;
    font-size: 20px !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
On 7/18/2022 at 5:27 PM, Contz said:

Unfortunately, it doesn't change... 😞

 

Schermata 2022-07-18 alle 12.26.43.png

Try adding this to Settings > Advanced > code Injection > Header

<style>
  .sqs-search-page-notice {
    color: white !important;
    font-size: 20px !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

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.