Jump to content

header title taglines on mobile

Recommended Posts

Site URL: https://alpaca-teal-6mye.squarespace.com/

Hi Beautiful People,

I have a question. I add 2 different taglines under my logo and when I load my page on a mobile the "first line" don't load.
When I refresh the page the "first line" appears.

the css I used:


@media screen and (max-width: 768px) 
  {
.header-title:after {
  content: 'blablabalbala\A| evenmoreblabalbla';
  white-space: pre;
  font-family: europa;
  font-size:6px;
  margin-top: -1.5vh;
  color: rgba(255, 255, 255, 0.7);
  display:block;
  position:relative;
}
.header-title::first-line {
  font-size:8px!important;
  color: white;
}
.header-title-logo { 
  position:relative;
  top:-1.5vh!important;
}
}

 

Thank you so much!!!!

Link to comment
  • Replies 4
  • Views 656
  • Created
  • Last Reply
13 hours ago, Algernom said:

Site URL: https://alpaca-teal-6mye.squarespace.com/

Hi Beautiful People,

I have a question. I add 2 different taglines under my logo and when I load my page on a mobile the "first line" don't load.
When I refresh the page the "first line" appears.

the css I used:


@media screen and (max-width: 768px) 
  {
.header-title:after {
  content: 'blablabalbala\A| evenmoreblabalbla';
  white-space: pre;
  font-family: europa;
  font-size:6px;
  margin-top: -1.5vh;
  color: rgba(255, 255, 255, 0.7);
  display:block;
  position:relative;
}
.header-title::first-line {
  font-size:8px!important;
  color: white;
}
.header-title-logo { 
  position:relative;
  top:-1.5vh!important;
}
}

 

Thank you so much!!!!

which device you used

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 12/16/2020 at 9:14 AM, bangank36 said:

which device you used

I tried iphone 6s with Safari and chrome.


Thank you for your reply.
no Unfortunately I couldn't fix it yet.

as for the burger icon I used what you sent me last time.


 

// Frosted Blur Header //
.header .header-announcement-bar-wrapper, .header.shrink {
  background:linear-gradient(to bottom, rgba(0,0,0,.12), rgba(0,0,0,0))!important;
   backdrop-filter: blur(3px)!important;
   border-color:transparent;
   -webkit-backdrop-filter: blur(3px)!important;
}

/* Fix mobile menu */
.header.shrink.black {
    clip-path: inherit;
    height: 100%;
}


// header shape change //
/* desktop */
@media screen and (min-width: 768px) 
  {
.header {
    margin: 0 auto;
  clip-path: polygon(0% 0%, 100% 0%, 100% 55%, 30% 55%, 19% 94%, 0 94%);
  position: relative;
}
}

/* mobile */
@media screen and (max-width: 768px) 
  {
.header-announcement-bar-wrapper, .header.shrink {  
  margin: 0 auto;
  clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 45% 50%, 29% 85%, 0% 85%);
  position: relative;
}
.burger-inner .top-bun, .burger-inner .bottom-bun {
  top:0vh!important; 
  position:relative;
    }

 

Link to comment

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.