Jump to content

Resizing an icon on mobile / mobile menu center

Recommended Posts

Posted

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

  • Replies 3
  • Views 619
  • Created
  • Last Reply

Top Posters In This Topic

Posted
17 hours ago, tuanphan said:

Add to Design > Custom CSS

/* DE icon */
div#block-fdabd8657a44f376caa5 {
    width: 30%;
    margin: 0 auto;
}

You mean mobile logo?

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

How can I make the mobile menu centered?

Thanks for your help.
Sibylle

Posted
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!)

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.