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
Is there a way to reduce the size (with) of the pallet 1 where I placed my vertical navigation? I've got it down to 200px, the smallest size available in Backlight, but I find it's still too wide. CSS, maybe?
Offline
yep, custom css
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Tried this:
.vertical-menu {
width: 100px;
}
But does not work.
Also, that logo is an image. So, I guess it should be managed separately, yes?
Last edited by pideja (2017-12-07 23:30:40)
Offline
Using the browser inspector I can see this (assuming this is the same site as in your other question--links in posts always help us to help you)
.page__pallet {
background-color: transparent;
color: #fef7db;
flex-basis: auto;
flex-grow: 1;
margin: 0px 0;
width: 200px;
min-width: 200px;
max-width: 200px;
}
so try this:
.page__pallet {
width: 100px;
min-width: 100px;
max-width: 100px;
}
Edit: Updated to include closing braces
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Also, that logo is an image. So, I guess it should be managed separately, yes?
give it a try. It will still be only 100px wide though if you keep it in the pallet and use that custom css to reduce the pallet width.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Using the Firefox Inspector, I could easily reduce the size of the logo-image to half its size. Should I place the script you suggest in CSS?
UPDATE: As soon as I inserted the script into "backlight.css", the logo-image returned to it's initial size while the css script did nothing to reduce the pallet size.
Last edited by pideja (2017-12-08 05:42:19)
Offline
Using the Firefox Inspector, I could easily reduce the size of the logo-image to half its size. Should I place the script you suggest in CSS?
UPDATE: As soon as I inserted the script into "backlight.css", the logo-image returned to it's initial size while the css script did nothing to reduce the pallet size.
You are missing a closing bracket.
.page__pallet {
width: 100px;
min-width: 100px;
max-width: 100px;
} /* <----- */
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
pideja wrote:Using the Firefox Inspector, I could easily reduce the size of the logo-image to half its size. Should I place the script you suggest in CSS?
UPDATE: As soon as I inserted the script into "backlight.css", the logo-image returned to it's initial size while the css script did nothing to reduce the pallet size.
You are missing a closing bracket.
.page__pallet { width: 100px; min-width: 100px; max-width: 100px; } /* <----- */
Oops, my fault. Just copied from inspector and missed it.
Still, basic css.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Using the Firefox Inspector, I could easily reduce the size of the logo-image to half its size. Should I place the script you suggest in CSS?
UPDATE: As soon as I inserted the script into "backlight.css", the logo-image returned to it's initial size while the css script did nothing to reduce the pallet size.
Place it in your custom css file, as with any css you change.
(And don’t forget the closing curly brace)
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Assuming that this is the site we're discussing: http://pideja.ca/
Your custom css has several errors:
.about .the__copy .content {
text-align: left;
text-widht: 800px
/* position and size vertical navigation */
.page__pallet {
width: 100px;
min-width: 100px;
max-width: 100px;
It should be:
.about .the__copy .content {
text-align: left;
text-width: 800px;
}
/* position and size vertical navigation */
.page__pallet {
width: 100px;
min-width: 100px;
max-width: 100px;
}
The missing closing curly brace from the first rule in your version negates any css that follows. That's why the pallet width was not shrinking.
Once that's fixed, the missing closing culry brace from the second rule would then negate whatever css that follows. In this case, your slideshow css and your footer css
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thank you for this. Works fine but I decided to stick with the 200px basic size available in Backlight. I kept the adjusted code in the CSS file, just in case I decide to revert to another size later.
In this version, pideja.ca/creme, the base color is changed to a cream color and the page seems cleaner without borders around the menu items. The animated images are larger but they look a bit low on the page.
Also, I'd like the footer to be right or left aligned because having it centered on the page looks off, relative to the image. The CSS lines for the footer are:
/* footer */
.copyright p{
font-style: italic;
text-align: left;
position: relative;
left: 05%;
}
But, no response. The copyright notice isn't even in italic!
Offline
First thing, the rule you have preceding that doesn't have a closing brace. That will negate any css that follows.
.main__column > .content {
left: 120px;
So fix that first.
Second, your using the wrong selector. It should be: li.copyright; there are no paragraph tags in the footer (page__pallet__bottom)
/* footer */
li.copyright {
font-style: italic;
text-align: left;
position: relative;
left: 05%;
}
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
Also, I'd like the footer to be right or left aligned because having it centered on the page looks off, relative to the image. The CSS lines for the footer are:
you can use the text align controls in the page template > Footer > Bottom Pallet/Copyright
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Corrected the missing closing brace. Works great, thank you.
But, strangely, now it's the image that has gone way out in right field!
Last edited by pideja (2017-12-09 04:20:48)
Offline
But, strangely, now it's the image that has gone way out in right field!
Not that strange since you told it in your custom css file to be there!
.main__column > .content {
left: 120px;
}
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
I see you corrected the the css that moved the content to the left. You should also take a look at mobile sizes.
Any change you make to positioning is likely to mess up the site on mobile devices. If you still choose to use positioning, I'd suggest putting it in a media query that affects only desktop sizes.
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 think I don't clearly understand the relationship between page, content area and margins & padding. This site only looks "good" at a viewport of 1366px x 927 and it doesn't react well when changing viewports. Also, I can't get a handle on that css...
This is pretty fundamental stuff. Another weekend of reading and trying stuff, I guess.
Cheers!
Offline
Any reason why you're not inserting an inline Vegas slide show album on that page? Just curious.
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 just didn't think of it...
Offline
It's a good option. Particularly because it should behave better with the existing Backlight styling.
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's a good option. Particularly because it should behave better with the existing Backlight styling.
And much easier to use and update!
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
There's that too!
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