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.
I've really got to learn the specifics of selectors...works great Rod, thanks.
Just another thing for today:
how do I control the size the "beige" background that's under the text?
Offline
Maybe with the width of the content area in the template.
Content Areas > Main Copy: max width and padding settings
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I tried to change the Content Areas > Main Copy: max width and padding settings, but the top-bottom settings just change the size of the box somewhat but the box is still high on the page, not centered
like in the graph seen in the inspector:
Then, still in the inspector, I find what seems to me as the settings for this box:
Problem is, I still don't know where to change these settings.
What dictates where the box is, relative to the page? Is it the borders, the padding or some other control?
Offline
For that template, (with the identifier luc-bio), what do you have set under Content Area > Main Content > Max-width? It looks to me that it's set at 1920px. But you can set it as low as 920px.
And just below the max-width setting are settings for padding.
if the main content is too high on the page, change margin-top (at the top of the Content Areas settings). If you've already set that at its maximum, then just set it to something different using custom css.
.the__copy {
margin-top: 50px;
}
if you only need that margin top on this page, then place the slug selector before .the__copy
.slug-bio .the__copy {
....
}
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
It set Content Area > Main Column > Margin-top at 75px to solve my problem. The CSS somehow doesn't work. Maybe I placed it wrong in the file.
Last edited by pideja (2018-01-31 06:26:19)
Offline
are we still talking about this page: http://pideja.ca/luc/fr/bio/
that page is using a custom css file named luc-fr.css
what css isn't working for you? I see the css that's adding that awkward margin-left: 150px
I also see in that css file some css that looks like it's left over from CE4: there is no .mantle class in Backlight. Same with p.p-nav. I think that's a left over too.
and the css for the copyright must also be leftover from CE4
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline