Jump to content

Resizing an icon on mobile / mobile menu center

Recommended Posts

Site URL: https://www.lisisloggia.it/

Hi there

I have a problem in resizing an icon on mobile.
On the home of the IT page, the icon is shown very big (after the second image from top). I managed to resize it on the DE page, but in the IT page it is still big.

https://www.lisisloggia.it/

And in mobile the navigation/menu is left aligned. I would like to center it. Any idea how?

Thanks for your help!!

Best
Sibylle

Link to comment
  • Replies 3
  • Views 514
  • Created
  • Last Reply

Top Posters In This Topic

On 3/16/2022 at 11:36 PM, orneverornow said:

Hi @tuanphan. Thank you very much, it worked!

How can I make the mobile menu centered?

Thanks for your help.
Sibylle

Use this code

/* center mobile logo */
.header-display-mobile .header-title-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 9999;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.