Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#26 2018-01-29 03:06:22

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Background image for content area of Backlight Pangolin

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

#27 2018-01-29 03:10:04

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

Re: Background image for content area of Backlight Pangolin

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

#28 2018-01-29 23:44:28

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Background image for content area of Backlight Pangolin

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 settings_graph
like in the graph seen in the inspector:
settings_graph
Then, still in the inspector, I find what seems to me as the settings for this box:settings_graph
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

#29 2018-01-30 00:19:28

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

Re: Background image for content area of Backlight Pangolin

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

#30 2018-01-31 06:26:01

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Background image for content area of Backlight Pangolin

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

#31 2018-01-31 06:42:41

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

Re: Background image for content area of Backlight Pangolin

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

Board footer

Powered by FluxBB