Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Thanks. It's working for now, so I am happy. One other question: In the Masthead, is there a way to control the space between the Title (which I have set to 36 font) and the tagline (which is set to 14 font)? I'd like to maintain the text sizes but bring the tagline closer to the title. Thanks
(Split to new topic by moderator)
Offline
Custom css
This looks to be the css controlling that space:
.masthead-primary .site__tagline {
font-size: 1rem;
margin-top: 12px;
text-transform: none;
}
So in your custom css add this:
.masthead-primary .site__tagline {
margin-top: 8px;
}
set the top-margin value to whatever works for you.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Now you have exposed my ignorance...for which I apologize. Where do I access custom css in Backlight (he asked humbly)?
Offline
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
OK. So I created a new css file in the appropriate folder with the following text:
.masthead-primary .site__tagline {
font-size: 1rem;
margin-top: 8px;
text-transform: none;
}
I may have misunderstood your directions, but the text above didn't change the space between title and tagline; it merely made the tagline larger and bolder?
Aaron
Offline
Can you post a link to your site?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Offline
the reason that the text got larger is because of this: font-size: 1rem;
Including that, you actually changed what your site already had set. In custom css, it's best to change only what you need to change, that's why I didn't include the font-size in the code I posted.
That being said, it doesn't look like margin-top is doing anything at all. Probably because we can't apply to or bottom margin to span elements. (I just googled that)
But your masthead looks different than what I have on my test page. Yours has a <br> that's adding space between the Title and Tagline
I can't seem to duplicate that.
If that's something you added, then try getting rid of it.
Otherwise, you can try this in your custom css instead of the other code.
.masthead-primary h1 {
line-height: .7
}
and adjust as needed.
I'm not sure that's the best way of handling it, but it's all I can come up with at the moment.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks. That resulted in the change I wanted.
I know nothing about the <br> in the masthead. All of the changes have been effected using Backlight 2 Designer.
Let me know if I can forward anything to help you figure out the <br> issue.
Thanks again and happy holidays
Offline
It might just be the configuration you're using for the masthead (in the header, in the main column). I haven't tested both configurations.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pages: 1