Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2018-12-03 08:10:48

charking
Member
From: Montreal, Québec, Canada
Registered: 2013-04-03
Posts: 105
Website

Font Sizes

How does one control the font size in the Page Copy and Pallet Copy sections of Page Design? css? If so, any samples?

Offline

#2 2018-12-03 08:51:41

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 15,205
Website

Re: Font Sizes

For the Copy areas, this came up in a search:
http://community.theturninggate.net/vie … hp?id=8408
It’s about text-align but you can instead use font-size


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Pangolin test site, Backlight 1.1.1 test site

Online

#3 2018-12-03 08:59:05

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 15,205
Website

Re: Font Sizes

for pallets, use this selector:

.text-widget p

And if you find you need to do more custom css work, the browser inspector is an invaluable time saving tool to discover what selectors need to be used: http://ttg-tips-and-tricks.barbeephoto. … ustom-css/


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Pangolin test site, Backlight 1.1.1 test site

Online

#4 2018-12-03 11:51:04

charking
Member
From: Montreal, Québec, Canada
Registered: 2013-04-03
Posts: 105
Website

Re: Font Sizes

rod barbee wrote:

For the Copy areas, this came up in a search:
http://community.theturninggate.net/vie … hp?id=8408
It’s about text-align but you can instead use font-size

I have added the following code to custom.css.

.the_copy p {
     font-size: 24pt;
}

It does not seem to be having any effect. When I inspect the element, font-size always shows 16px which appears to be the value inherited from div.the_copy (font-size: 1rem). I noticed that custom.css was executed before the Adobe typekit css. Thinking that the Adobe code might override or nullify the custom code, I added custom2.css with the same code but executing after the Adobe typekit.css. No change, same results (or lack thereof).

Any suggestions?

Last edited by charking (2018-12-03 11:52:45)

Offline

#5 2018-12-03 12:07:22

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 15,205
Website

Re: Font Sizes

The selector is:

.the__copy p

Two underscores


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Pangolin test site, Backlight 1.1.1 test site

Online

#6 2018-12-03 13:09:44

charking
Member
From: Montreal, Québec, Canada
Registered: 2013-04-03
Posts: 105
Website

Re: Font Sizes

rod barbee wrote:

The selector is:

.the__copy p

Two underscores

I noticed the extra length; but for some reason I took it to be the underscore equivalent to a single em dash, possibly because it was replacing ".the-block" in your posting.

It works. Thanks again.

Last edited by charking (2018-12-03 13:12:40)

Offline

Board footer

Powered by FluxBB