1
loom001
Default Theme style.css question?
  • 2003/12/14 19:24

  • loom001

  • Just popping in

  • Posts: 53

  • Since: 2002/8/17


Can anyone tell me were in the style.css for the default theme I can change the blue color at the very top of the screen? Next to the logo.gif? I want to make the blue another color but I can not figure out were that color is comg from. Thanks in advance.

2
Freetime
Re: Default Theme style.css question?
  • 2003/12/14 19:34

  • Freetime

  • Just popping in

  • Posts: 31

  • Since: 2003/7/30


hhttp://wiki.xoops.org/wakka.php?wakka=DefaultThemeCSS

:)

Quote:

/* The area at the top of the page where the logo and advertising banner are */

td#headerbanner {width: 100%; background-color: #2F5376; vertical-align: middle; text-align:center;}

3
loom001
Re: Default Theme style.css question?
  • 2003/12/15 1:51

  • loom001

  • Just popping in

  • Posts: 53

  • Since: 2002/8/17


Cool thanks that helped a bunch, but one more thing I can not seem to figure out. When lets say you are on the News section and on the right in my case in the menu when you click on that news you then get 2 more options that show up SUBMIT NEWS and ARCHIVE is there some where to change the color of the text for the additional menu items that show up when you are on a slected area? Thanks again for all the help!

4
hsalazar
Re: Default Theme style.css question?
  • 2003/12/15 2:03

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


loom001:

In the file style.css you have the following lines:

Quote:

td#mainmenu a {background-color: #e6e6e6; display: block; margin: 0; padding: 4px;}
td#mainmenu a:hover {background-color: #ffffff;}
td#mainmenu a.menuTop {padding-left: 3px; border-top: 1px solid silver; border-right: 1px solid #666666; border-bottom: 1px solid #666666; border-left: 1px solid silver;}
td#mainmenu a.menuMain {padding-left: 3px; border-right: 1px solid #666666; border-bottom: 1px solid #666666; border-left: 1px solid silver;}
td#mainmenu a.menuSub {padding-left: 9px; border-right: 1px solid #666666; border-bottom: 1px solid #666666; border-left: 1px solid silver;}

The first two lines define the look of your links in normal and hovered states. The third line defines the style of the first main menu option. The fourth line defines the look of all menu options except the top one. The fifth line defines the look of the secondary options in the menu.

So I guess the answer would be: edit that fifth line.

Cheers.

5
loom001
Re: Default Theme style.css question?
  • 2003/12/15 2:17

  • loom001

  • Just popping in

  • Posts: 53

  • Since: 2002/8/17


So I am checking this out and when I go edit the fifth line I see that all that I can change is the border color is there away to change the text for the sub menu? I am new to theme moding and Style sheet are a little bit of a strugle for me still. So please don't flame me just a noob trying to learn something new. Thanks for all the help.

6
hsalazar
Re: Default Theme style.css question?
  • 2003/12/15 3:20

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


loom001:

We all started by asking questions, so don't worry. The selector I mentioned says:

td#mainmenu a.menuSub 
{
padding-left9px
border-right1px solid #666666; 
border-bottom1px solid#666666; 
border-left1px solid silver;
}

Since it doesn't include any reference to fonts, font colors or sizes, they are inherited from other selectors, but it doesn't mean you have to accept them. You can easily change the selector to something like (I added the values shown in red brick):

td#mainmenu a.menuSub 
{
[
color=990000]
font-familyGeorgiaTimes New Romanserif;
color#cccccc;
background-color#efefef;[/color]
padding-left9px
border-right1px solid #666666; 
border-bottom1px solid#666666; 
border-left1px solid silver;
}


or to whatever values you need.

Cheers.

7
loom001
Re: Default Theme style.css question?
  • 2003/12/15 17:40

  • loom001

  • Just popping in

  • Posts: 53

  • Since: 2002/8/17


Cool thanks for the help that did the trick. My text is the color that I wanted now and I am working on the text background color that does not seem to want to change but I am sure that I will figure it out soon. Thanks again for all the help!

Login

Who's Online

338 user(s) are online (260 user(s) are browsing Support Forums)


Members: 0


Guests: 338


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits