MyBB Community Forums

Full Version: CSS?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
My plan is to change the "0" text to white and move it into the alerts button.

How do i do this?

what do i need to add to the template or css?
What is the "0" a link or what ? You website link would be helpful to see what css is appropriate.
Im not logged in so I cannot see it. Create a test user account and post it here.
fgbfg
Add this to global.css:

.secondbar a {
  color: #ffffff;
}
Yes that worked, now i need to somehow find how to move it to the left and up a little bit
Place the variable that displaying the "0" next to the Alerts text like so:

Alerts {$variable here}
I don't get you?
Your button is something like this isnt it ?

<a href="link here">Alerts</a>

Im assuming the "0" is the amount of alerts you have ? Therefore it must be a variable in your template.

Do this in your template:

<a href="link here">Alerts {$alerts variable here}</a>

I dont know the exact variable name but replace "{$alerts variable here}" with the variable that is displaying the "0"
Pages: 1 2