Customers SupportDocumentation


Reply
 
Thread Tools
  #1  
Old 25-07-2008, 11:26 PM
SB5 SB5 is offline
Member
 
Join Date: Jul 2008
Posts: 13
Question How can I do this in Red Carbon?

I want to make the "Register" link in the header to be a red background to make it more noticeable. This is what I'm talking about... except they have it for there "Donate" link. I would like to do that same thing except for the Register link. --> http://www.4winmobile.com/forums/index.php

How can I do this??
Reply With Quote
  #2  
Old 26-07-2008, 10:36 AM
MaestroX's Avatar
vBulletin Skin Zone Staff
 
Real Name: Chris A.
Join Date: May 2007
Location: UK
Posts: 1,337
Re: How can I do this in Red Carbon?

In your header template find:

Code:
<if condition="$show['registerbutton']">
  <td class="nav"><a href="$vboptions[bburl]/register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
 </if>
and change class="nav" to class="tcat"
Reply With Quote
  #3  
Old 26-07-2008, 01:42 PM
SB5 SB5 is offline
Member
 
Join Date: Jul 2008
Posts: 13
Re: How can I do this in Red Carbon?

Great that worked.

However, one minor issue is that I see is that it's bigger (height) in mine than it is in the example sites I showed you. How can this be fixed?
Reply With Quote
  #4  
Old 26-07-2008, 04:07 PM
MaestroX's Avatar
vBulletin Skin Zone Staff
 
Real Name: Chris A.
Join Date: May 2007
Location: UK
Posts: 1,337
Re: How can I do this in Red Carbon?

Ok, try changing the class="tcat" to class="tcat_menu" and add this into the style CSS (Right at the bottom in the extra box):

Code:
.tcat_menu
{
 background: #8b0e12 url(styles/redcarbon/gradients/gradient_tcat.gif) repeat-x top left;
 color: #FFFFFF;
padding: 3px 6px;
 font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
Let me know how it goes
Reply With Quote
  #5  
Old 26-07-2008, 05:54 PM
SB5 SB5 is offline
Member
 
Join Date: Jul 2008
Posts: 13
Re: How can I do this in Red Carbon?

I've made the changes above to the best of my knowledge. I wasn't 100% sure where to put the code into the style CSS. So I opened up the Style Manager > Red Carbon > Main CSS > (scrolled down to very bottom) > In the Additional CSS Definitions at the bottom I added the code. Again not completely sure if that was the correct spot.

The changes look good however the link is a red color which would need to be changed. Take a look for yourself (you'll need to change the style at the bottom left corner to Red Carbon)

Last edited by SB5; 27-07-2008 at 04:49 AM.
Reply With Quote
  #6  
Old 26-07-2008, 07:27 PM
MaestroX's Avatar
vBulletin Skin Zone Staff
 
Real Name: Chris A.
Join Date: May 2007
Location: UK
Posts: 1,337
Re: How can I do this in Red Carbon?

Ok, in the CSS change what you put it before, change to this:

Code:
.tcat_menu_menu
{
background: #8b0e12 url(styles/redcarbon/gradients/gradient_tcat_menu.gif) repeat-x top left;
color: #FFFFFF;
padding: 3px 6px;
font: bold 11px tahoma,verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif;
}
.tcat_menu a:link, .tcat_menu_alink
{
 color: #ffffff;
 text-decoration: none;
}
.tcat_menu a:visited, .tcat_menu_avisited
{
 color: #ffffff;
 text-decoration: none;
}
.tcat_menu a:hover, .tcat_menu a:active, .tcat_menu_ahover
{
 color: #ffffff;
 text-decoration: underline;
}
Hopefully this should do it
Reply With Quote
  #7  
Old 26-07-2008, 11:02 PM
SB5 SB5 is offline
Member
 
Join Date: Jul 2008
Posts: 13
Re: How can I do this in Red Carbon?

I made the above change and it made the background for the register link white (not red) and the link color white (which is good). So then out of curiosity I changed the class="tcat_menu_menu" just to see what would happen and it gave a red background and red text. Weird!

So currently the above change you suggested is in the CSS as well as the class="tcat_menu" as you originally suggested making the BG and text white.

Hopefully we can figure this out!
Reply With Quote
  #8  
Old 26-07-2008, 11:41 PM
MaestroX's Avatar
vBulletin Skin Zone Staff
 
Real Name: Chris A.
Join Date: May 2007
Location: UK
Posts: 1,337
Re: How can I do this in Red Carbon?

Whoops, my mistake, I made a mistake in the above code. Replace it with this one:

Code:
.tcat_menu
{
background: #8b0e12 url(styles/redcarbon/gradients/gradient_tcat_menu.gif) repeat-x top left;
color: #FFFFFF;
padding: 3px 6px;
font: bold 11px tahoma,verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif;
}
.tcat_menu a:link, .tcat_menu_alink
{
 color: #ffffff;
 text-decoration: none;
}
.tcat_menu a:visited, .tcat_menu_avisited
{
 color: #ffffff;
 text-decoration: none;
}
.tcat_menu a:hover, .tcat_menu a:active, .tcat_menu_ahover
{
 color: #ffffff;
 text-decoration: underline;
}
Reply With Quote
  #9  
Old 27-07-2008, 04:49 AM
SB5 SB5 is offline
Member
 
Join Date: Jul 2008
Posts: 13
Re: How can I do this in Red Carbon?

Great that's exactly how I wanted it to look! Thanks for helping me with that!
Reply With Quote
  #10  
Old 27-07-2008, 08:15 AM
MaestroX's Avatar
vBulletin Skin Zone Staff
 
Real Name: Chris A.
Join Date: May 2007
Location: UK
Posts: 1,337
Re: How can I do this in Red Carbon?

No problem, glad we got there in the end
Reply With Quote
Reply

Thread Tools



All times are GMT. The time now is 01:30 AM.