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.

#1 2019-01-23 10:02:57

jwlimages
Member
Registered: 2015-08-09
Posts: 61

Backlight base color - gradient?

I am just starting to rebuild my old CE4 site with Backlight2. Starting with the basics, in Designer I'm building a new default Pangolin page template. In the Color section, all the selections are single colors. I'd like to be able to spec a 2-color gradation for the Base.

Is there any way to do this? Or would it have to be done via an image in the Background section? If the latter, what would be the minimum pixel dimensions for this to work on say, a Retina display?

Thanks,

John

Offline

#2 2019-01-23 10:33:20

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

Re: Backlight base color - gradient?

custom css

/*Background gradient
========================================================*/
body {
background: linear-gradient(180deg, #D18555, #0F0701);
}

background: linear-gradient(angle, first color, second color);

more on css gradients: https://www.w3schools.com/css/css3_gradients.asp


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

Offline

#3 2019-01-23 12:28:32

jwlimages
Member
Registered: 2015-08-09
Posts: 61

Re: Backlight base color - gradient?

Thank you Rod!

J

Offline

#4 2019-01-23 12:32:30

jwlimages
Member
Registered: 2015-08-09
Posts: 61

Re: Backlight base color - gradient?

Oops, sorry I need still more help. Where do I enter this text - is it possible thru the Backlight interface, or ???

John

Offline

#5 2019-01-23 12:34:48

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Backlight base color - gradient?

jwlimages wrote:

Oops, sorry I need still more help. Where do I enter this text - is it possible thru the Backlight interface, or ???

John

http://backlight.theturninggate.net/doc … tylesheets


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#6 2019-01-23 12:46:48

jwlimages
Member
Registered: 2015-08-09
Posts: 61

Re: Backlight base color - gradient?

OK, will check it out.

Thanks again,

John

Offline

#7 2019-01-24 05:57:20

jwlimages
Member
Registered: 2015-08-09
Posts: 61

Re: Backlight base color - gradient?

I'm still floundering here.

I created a minimal custom css file - basically just what Rod posted, with different hex color values.
Uploaded it to the css folder inside Backlight's directory.
Then from Publisher, edited the page template, enabling Use Custom Stylesheet & selected my .css file.

But no change - looks like the settings in the Color panel still determine the background. What am I missing?

John

Offline

#8 2019-01-24 06:37:39

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Backlight base color - gradient?

jwlimages wrote:

I'm still floundering here.

I created a minimal custom css file - basically just what Rod posted, with different hex color values.
Uploaded it to the css folder inside Backlight's directory.
Then from Publisher, edited the page template, enabling Use Custom Stylesheet & selected my .css file.

But no change - looks like the settings in the Color panel still determine the background. What am I missing?

John

Hi John, do you have a link to your page? Thanks!


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#9 2019-01-24 06:47:09

jwlimages
Member
Registered: 2015-08-09
Posts: 61

Re: Backlight base color - gradient?

Hi Daniel,

The Home page I'm working on is http://jwlimages.com/Commerce/

John

Offline

#10 2019-01-24 07:04:32

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Backlight base color - gradient?

Please try without space between gradient and '(':

html, body, main {
    background: linear-gradient(180deg, #ffffff, #323232);
}

Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#11 2019-01-24 07:12:49

jwlimages
Member
Registered: 2015-08-09
Posts: 61

Re: Backlight base color - gradient?

Doh!

OK, will try when I get back to studio.

Thank you, Daniel!

J

Offline

#12 2019-01-24 09:28:31

jwlimages
Member
Registered: 2015-08-09
Posts: 61

Re: Backlight base color - gradient?

As simple as getting rid of that extra space - Thanks!

John

Offline

#13 2019-01-24 09:46:34

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Backlight base color - gradient?

smile


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

Board footer

Powered by FluxBB