How to add images to the navigation bar

How to add images to the navigation bar 1.0

No permission to download
The original one was 30px and the new ones are 25px.
I've attached it to this post but you will need to update the css accordingly.

Thanks Brogan. I can upload all three to the path shown in the first post but wouldn't it be better to be in a folder? Right now, there's only one other file (index.html) in styles/default/ and one folder name xenforo. I'm still trying to understand how things work.
 
You can put the images wherever you like, it just depends how you want to organise things.

If the images are unique to an individual style then you can put them in that style's folder.
If multiple styles are using the same images then it makes sense to have a common folder.

Either way though, it's just a path to a file so it makes little difference when in use although it can sometimes depend on whether you use relative or absolute paths.

The path in the css in the first post is to the root folder of the default style, that's correct.
 
I wonder what would cause the left and center to be slightly higher?
screen.webp

SOLVED: I downloaded the thumbs, not the actual image.
 
You're using 3 different sized images it looks like.
The left is 10px, the centre 17px and the right is 30px.
 
You're using 2 different sized images it looks like.
The left and centre are 25px and the right is 30px.
I originally downloaded the 3 images from the first post. Then I downloaded the 30px image having the same result.
I replaced the right image with the image from the first post.
heights 10px 17px 25px
Is it an alignment problem?
 
I just download the 3 images from the first post and added the css listed there to EXTRA.css and it worked fine.

HTML:
#navigation .helper {
background: url(styles/default/shelley_snow_l.png) no-repeat 0% 0%, url(styles/default/shelley_snow_c.png) no-repeat 50% 0%, url(styles/default/shelley_snow_r.png) no-repeat 100% 0%;
display: block;
height: 25px;
left: -5px;
padding: 0px 5px;
position: absolute;
top: -16px;
width: 100%;
}

test.webp

For some reason your images are not the same size as the ones in the first post.
Try downloading and uploading them again.
 
I right-clicked the images off of the XF header. Uploaded them and it is OK.
The images I downloaded from the first post where not as high.
I don't know why. ??
 
Are you right clicking and saving the attachments in the first post?
Those are the attachment thumbs not the actual images.

You need to click on the attachment image or file name and it will load the image in a new tab which you can then save.
 
Are you right clicking and saving the attachments in the first post?
Those are the attachment thumbs not the actual images.

You need to click on the attachment image or file name and it will load the image in a new tab which you can then save.
Then that is what I was doing wrong. I right clicked on the thumbs.
When I rollover the image or the filename, the filename is the same so I figured I was downloading the same file.
 
I'm slow. Ok...I uploaded the files to my styles/default folder. Then I added:

#navigation .helper {
background: transparent url(styles/default/shelley_snow_l.png) no-repeat;
display: block;
height: 25px;
left: -5px;
position: absolute;
top: -16px;
width: 250px;
}
to my Extra.css

Im rockin Beta 4...so that should be it right? :confused:
 
Yes, that's all that's required for the left image.

What are you seeing?
Can you post a link to your site?
 
Never mind.... I am on beta 4...but I had to modify the navigation template as instructed.... It didnt tell me the template was out of date either :confused:
 
Quite disappointed that there's no new fun image in the header today after waking up ;(

hehe
 
how do you add this to the new beta 4?? is there an easier way i thought beta 4 would have ways of adding stuff likle this?
 
Top Bottom