Forums / Templates, Stylesheets, Page Layout / Help with layout please.

Help with layout please.

Locked

Views: 3,477

Results 21 to 25 of 25
This thread is locked. New replies are disabled.
12 Sep 2007, 10:44 AM
#21
peggy avatar

peggy

Zen Follower

Join Date:
Jul 2007
Location:
UK? US?
Posts:
115
Plugin Contributions:
0

Help with layout please.

gjh42:

Add to your stylesheet

.centerBoxContentsNew a {color: #112233;}

Adjust to taste.

For banners: Configuration > Layout Settings > Banner Display Groups - Header Position 1, etc.
Thank you, I understand about the a links now.
What I am not sure of is the above, I added this as you suggested earlier and it changed the color in the main content on the front page which is exactly what I wanted to achieve.
What I don't understand, especially with your recent posts to me, is why it doesn't change ALL the centerbox content on ALL the pages?
I am started to get really agitated with myself for not being able to understand and figure out this small issue.
Thank you for taking the time to try and help me with this.
How do I change the links in the centerbox so they are darker and leave the links in the sideboxes white?
Seems like a simple question that doesn't seem to have a simple answer.

arrgghhhhh

12 Sep 2007, 11:17 AM
#22
peggy avatar

peggy

Zen Follower

Join Date:
Jul 2007
Location:
UK? US?
Posts:
115
Plugin Contributions:
0

Re: Help with layout please.

gjh42:

.sideBoxContent a {
background-color: #c69c42;
padding: 0.4em;
}
I did it....phew..there wasnt a code as above so that kinda threw me.
I just added one though and it worked..then of course they didnt change color when I put my mouse over them so I had to figure out how to do that.

I added extra code as below to come to a solution.
thanks again..its been a long journey...lol

.sideBoxContent a{
color: #ffffff;
}

.sideBoxContent a:hover{
color: #fbce50;
}

12 Sep 2007, 3:46 PM
#23
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Help with layout please.

Glad you've gotten the results you want! It took me a long time to figure out the subtleties of the way stylesheet selectors work. It may be helpful to visit https://www.w3schools.org and try their CSS tutorials. They also have interactive examples that you can edit and see the results immediately - very handy for understanding a particular thing without the distraction of a whole site around it.

PS - for post 21, notice that the class used is
.centerBoxContentsNew
which only applies to the new products box. There is a similar class for every other version of the center box, which is why it is easier to style sideboxes as a group. There may be a class that applies to all center boxes, but there are many other possibilities in the center column too.

12 Sep 2007, 5:42 PM
#25
peggy avatar

peggy

Zen Follower

Join Date:
Jul 2007
Location:
UK? US?
Posts:
115
Plugin Contributions:
0

Re: Help with layout please.

gjh42:

PS - for post 21, notice that the class used is
.centerBoxContentsNew
which only applies to the new products box. There is a similar class for every other version of the center box, which is why it is easier to style sideboxes as a group. There may be a class that applies to all center boxes, but there are many other possibilities in the center column too.

Ok..I think it is finally starting to sink in:clap: (don't hold your breath though)

I bookmarked the CSS try its

Thanks again for your patience.