Jump to content

Need Help With Custom CSS for Subtitle

Recommended Posts

Posted

Site URL: https://isaimedina.com

So, I added a css code that would provide my header a subtitle. However, if I change the size of the subtitle for bigger screen sites, it changes it on my mobile site as well. I was wondering if there was a way to prevent that?
Alongside that, I was wondering if there was a way I could space out the font in my subtitle more
The code that I'm using for the subtitle is:
a#site-title:after { content: "cinematographer + editor"; display: block; font-size: 8px; color: white; letter-spacing: 5px !important; font-family: adobe garamond pro;}
  • Replies 2
  • Views 551
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

you have to manually set your mobile break points with

@media only screen and (max-width:799px) {

}

 

add your code in there to set what you want. Sounds like your already adjusting your letter spacing if thats what you mean too. hard to say without a url

Posted
On 4/27/2022 at 4:23 AM, imedinal said:

Site URL: https://isaimedina.com

So, I added a css code that would provide my header a subtitle. However, if I change the size of the subtitle for bigger screen sites, it changes it on my mobile site as well. I was wondering if there was a way to prevent that?
Alongside that, I was wondering if there was a way I could space out the font in my subtitle more
The code that I'm using for the subtitle is:
a#site-title:after { content: "cinematographer + editor"; display: block; font-size: 8px; color: white; letter-spacing: 5px !important; font-family: adobe garamond pro;}

Your site is private. Can you setup password & share url again? We can check easier

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.