inherit
179966
0
Mar 19, 2019 9:23:16 GMT -8
Welshling
Dohtml - v5 templates, advertising & more.
1,150
May 2012
welshling
|
Post by Welshling on Jan 21, 2014 8:06:30 GMT -8
Firstly, sorry if this is in the wrong area.
Secondly I'm trying to alter the sub board link colors, without changing all other links. Examples of what i've tried in the css. .subboard .main a {color:###;} .sub_board_main_link a {color:###;}
I've tried numerous css tweaks and tried adding styles to the board wrappers section, both of which have failed. {if $[board.sub_board]} <div class="sub-boards" style="background:url('http://storage.proboards.com/3606125/i/SjK_18qoKjKAx0LgrSBp.png');margin-right:10px;padding:3px; margin-left:10px; margin-bottom:10px; font-size:10px;text-align:right; font-weight:bold;color:black;">{foreach $[board.sub_board]}$[board.sub_board]$[board.sub_board.comma] {/foreach}</div> {/if}
Could someone please, show me how to do this without altering all other links?
Thank you.
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Jan 21, 2014 8:39:20 GMT -8
Try .sub-boards a { color: #whatever; }
|
|
inherit
179966
0
Mar 19, 2019 9:23:16 GMT -8
Welshling
Dohtml - v5 templates, advertising & more.
1,150
May 2012
welshling
|
Post by Welshling on Jan 21, 2014 9:15:13 GMT -8
lol typical the only one i didn't try. Thanks Tim Camara for coming to my rescue.
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Jan 21, 2014 10:01:43 GMT -8
You're welcome. In the future, I'd recommend using the element inspector that's built in to most modern browsers (Right click -> 'Inspect Element' in Chrome, for example) to easily find the class structure of your HTML.
|
|