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
Trying to "fix" a border issue on pideja.ca I can control the two red borders top and bottom of the logo thru the inspector by blocking out the
border-width: 24px 0 24px:
but there is also mention of the line #1960 in "resource.php". The CSS looks like this:
.masthead-primary {
background-color: transparent;
border-color: #a01720;
border-style: solid;
/*border-width: 24px 0 24px;*/
color: #000000;
display: block;
padding: 10px 0 10px;
position: relative;
}
But it's only a partial solution. If I could get the resource.php to read:
.masthead-primary {
background-color: transparent;
border-color: #a01720;
border-style: solid;
/*border-width: 24px 0 24px;*/
color: #000000;
display: block;
padding: 10px 0 10px;
position: relative;
}
as I do in the inspector, it would successfully remove the red borders (bars).
This is how it looks in the inspector when the page is how I want it to be:and on the actual page:
Offline
You can't alter that file. This needs to be done with custom css.
You should be able to use the selector and change what you want to change in your custom css file.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
commenting out the border-width property in your custom css just means that the default css will be used. Instead of commenting it out, give it a border-width. border-width: 4px; for example.
so if the only thing you want to change is that border, use this in your custom css instead of what you have now:
.masthead-primary {
border-width: 4px;
}
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Whatever you have in pideja.css and if it uses the same CSS specificity, then it overwrites the settings from resource.php?xxx. This is the case for you.
I'm a bit confused what you would like to have. So without borders you can use
.masthead-primary {
border-width: 0px;
}
Or with a slim border all around
.masthead-primary {
border-width: 2px;
}
This code belongs into pideja.css. And as I show, you should only add the code that changes something from the default settings taken from resource.php?xxx.
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Right again, Rod.
Thank you.
Offline
Pages: 1