![]() |
Newwb -help edit skin1 to get rid of purple box!?
I did several searches, trying not to post what is probably a weird/dumb question, but here goes. I have a logo that I was able to upload, but I want to put a bit of a border around it to look better.
So I edited the /head.tpl (no, I don't know what I'm doing, but I get lucky often enough to keep trying) I changed the line: <TD>[img]{$ImagesDir}/xlogo.gif[/img]</TD> and changed border="0" to border="20" and by golly, it worked! BUT, the border is purple! I cannot find any hex code that I don't recognize in the Skin1.css file. So-oooo... What line will change the purple border color? [-o< Anyone want to take a crack at this, please? |
I'll have a crack, but that is all it is...
The image is actually a link, so the purple is probably a standard link colour for active link or similar. So the css is being called from the a:link, etc css styles. You could perhaps create a new style and call that from your a href statement. |
Ok, that makes sense...
Thank you for your answer. It does make sense, but my luck runs out (or skill, anyway) in actually performing what you suggest. I can change files, but not actually create.
I had been trying the other direction, which is modifying the logo image itself, but the gifs I posted appeared low quality on the site. It sounds like I ought to try harder on that... I appreciate your reply so quickly! |
Try something like this:
change: <A href="http://www.mydomain.com"> to: <A href="http://www.mydomain.com" class="imageborder"> Then in you skin1.css, you need to add that class: .imageborder:link {COLOR: #000000;} .imageborder:active {COLOR: #000000;} .imageborder:hover {COLOR: #000000;} .imageborder:visited {COLOR: #000000;} Not tested, I am presuming that the COLOR bit will alter the border. Other than that, the theory is along those lines. |
Thanks again, Paul. I will try that when I get a chance and post the results. I appreciate the explanation and patience.
|
All times are GMT -8. The time now is 09:35 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.