Jump to content

Wells template - custom code for mobile logo and nav

Recommended Posts

Posted

Site URL: https://charissekenionphoto.squarespace.com/

Hi all,

I'm looking for some custom code for how to centralise the logo and navigation on this site for mobile only. I also want to add some extra padding above and below the logo so it looks similar to the Lauren Daccache example noted below. Note these amends are just for the mobile version of the site.

Screenshots also attached of my site (charisse kenion) and the site i'm trying to emulate in terms of positioning and padding etc.

Thanks in advance.

Sophie

http://www.ldaccache.com/

 

711374915_Screenshot2021-05-19at17_48_28.thumb.png.2503d31390a1d38275f69e1de957d647.png95163611_Screenshot2021-05-19at17_48_13.thumb.png.1654bc84276875fd9b61f7c814925f80.png

  • Replies 6
  • Views 622
  • Created
  • Last Reply
Posted
On 5/25/2021 at 2:06 AM, sophiemiddleton89 said:

@tuanphan Sorry the password is test - all lowercase

Add to Design > Custom CSS

/* Mobile-Center title-menu */
@media only screen and (max-width:800px) {
div#logo {
    margin-right: 0;
    text-align: center;
    margin-top: 40px;
}
nav#mobileMenuLink {
    position: relative !important;
    top: 0 !important;
    text-align: center;
}
}

 

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.