Jump to content
MakeWebGames

Css Refill Bars


Jason-x

Recommended Posts

I posted a screenshot of my layout a few days ago.. since then i had a few people message me asking how to make bars

so this is how i do mine, their probably is a easier way but this works for me

First make a folder called css

inside that folder create a css file call it what you want. example.css

add this code to the css file you just made

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

next

open header.php

find this

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

replace it with

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

The end result will be

http://puu.sh/5XuPc.png

if you want different color fills for your bars

in the css file you made find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

copy it then paste it under the } part

change the .barcolor to something like .barred

you will have

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

finally in header.php

find the part like this

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

then change it to this

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

hope this helps you guys out with your css bars =)

Edited by Jason-x
Link to comment
Share on other sites

in the css file you made

in .headbars

where it says

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

below that add

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

then where it says

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

change that to

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

in the .header change the 5s to say 8

then .headerbars span change the 5s to say a 6

(they will always have to be smaller number than the .header sicne its a smaller div

Link to comment
Share on other sites

  • 2 years later...
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...