JVCode Well-known member Feb 5, 2011 #1 Creating a link on a "page" changes the colour of the link to blue, I'd like for the link to keep the same colour as it was before (white), How do I do this just for the pages and not the other links in the forums etc.
Creating a link on a "page" changes the colour of the link to blue, I'd like for the link to keep the same colour as it was before (white), How do I do this just for the pages and not the other links in the forums etc.
Paul B XenForo moderator Staff member Feb 5, 2011 #2 Are you using the default css classes? I always use <div class="messageText ugc baseHtml">content</div>. This thread may help: http://xenforo.com/community/threads/how-to-create-a-page-node.9510/ Upvote 0 Downvote
Are you using the default css classes? I always use <div class="messageText ugc baseHtml">content</div>. This thread may help: http://xenforo.com/community/threads/how-to-create-a-page-node.9510/
JVCode Well-known member Feb 5, 2011 #3 I'm not wanting all message text to be white, just the links... is there a style property for this? Upvote 0 Downvote
Paul B XenForo moderator Staff member Feb 5, 2011 #4 I'm not sure I understand, is this for Page content? If so, just create a new css class for links and set the color to white. Upvote 0 Downvote
I'm not sure I understand, is this for Page content? If so, just create a new css class for links and set the color to white.
JVCode Well-known member Feb 5, 2011 #5 What's the code for this? I've tried a:link {color:#FF0000;} Upvote 0 Downvote
Paul B XenForo moderator Staff member Feb 5, 2011 #6 Well if you do this it will give you a red link for example: Code: <a href="http://xenforo.com" style="color: #CC0000">XenForo</a> If you want to use a class then you can do something like this: Code: <style type="text/css"> a.green {color:#009900;} </style> <a class="green" href="http://xenforo.com">XenForo</a> Upvote 0 Downvote
Well if you do this it will give you a red link for example: Code: <a href="http://xenforo.com" style="color: #CC0000">XenForo</a> If you want to use a class then you can do something like this: Code: <style type="text/css"> a.green {color:#009900;} </style> <a class="green" href="http://xenforo.com">XenForo</a>