inherit
185052
0
Jun 3, 2014 16:57:27 GMT -8
peabody
33
October 2012
peabody
|
Post by peabody on Jan 31, 2013 7:32:09 GMT -8
Is there a way to change the color of this link so that it stands out from the others in the Info box?
Also, is there a way to put it in the Navigation bar, or otherwise make it visible on every page?
I know the code is <a href="javascript:proboards.home.markBoardsRead();">Mark All Boards Read</a> , I just don't know what to do with the code.
Thanks!
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Jan 31, 2013 7:40:35 GMT -8
Posting from memory and on my phone, so bear with me.
In your template, find the button variable. It should look something like this: $[mark_board_read_link]
replace it with <span style="color: #hexhex;"><a href="$[mark_board_read_link.href]">Mark Board Read</a>
hopefully that should sort the link out. =]
|
|
inherit
185052
0
Jun 3, 2014 16:57:27 GMT -8
peabody
33
October 2012
peabody
|
Post by peabody on Jan 31, 2013 7:49:52 GMT -8
Thanks, Paul!
I find the actual code in the Home template and the code is
{if $[mark_boards_read_link]} - $[mark_boards_read_link]{/if}
Can you tell me how to change this to what I need above in your post?
Thanks!
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Feb 7, 2013 18:00:21 GMT -8
{if $[mark_boards_read_link]} - <span style="color: #hexhex;"><a href="$[mark_board_read_link.href]">Mark Board Read</a>{/if}
That should replicate what's there already, I think. You will of course have to provide your own hex colour. =P
|
|
inherit
185052
0
Jun 3, 2014 16:57:27 GMT -8
peabody
33
October 2012
peabody
|
Post by peabody on Feb 11, 2013 7:11:56 GMT -8
{if $[mark_boards_read_link]} - <span style="color: #hexhex;"><a href="$[mark_board_read_link.href]">Mark Board Read</a>{/if} That should replicate what's there already, I think. You will of course have to provide your own hex colour. =P Thanks, Paul!
|
|