I need some CSS and template help!

discoian

Active member
#1
Hi guys,

I really want to move my banner advert from where it is now into the position I have shown below in the header. I use the XenAMS banner system so I figure it might be a simple thing...or not, I don't know. I am neither a coder or a CSS pro.

If you can help then please get in touch!

tdjcadvert.jpg
 

Brogan

XenForo moderator
Staff member
#2
If XenAMS doesn't use the ad templates then you will need to ask in the add-on release thread as I don't have it installed.

If it does use the ad templates then you can use the ad_header template.
 

discoian

Active member
#3
Yep it does, I can just drop the code into the ad_header template but I think it needs some positioning as it appears directly above my logo in the center.
Hmm.
 

discoian

Active member
#5
Hi,

If I wrap it in a div...

Code:
<div style="float: right;">
    <xen:include template="xenams_breadcrumb" />
</div>
It looks like this...

ad.jpg
 

Jake Bunce

XenForo moderator
Staff member
#6
It works fine for me when I use ad_header:

Code:
<div style="float: right;">

</div>
You are using a different template, xenams_breadcrumb. Can you please post the contents of xenams_breadcrumb as well as the contents of the template that includes it? Or post a link to your forum.
 

discoian

Active member
#7
Yep I managed to fix it...what was causing that is the logo image was too wide. Once I had compressed it down to 450px width from 500px it first perfectly...

Thanks for your input!!!

tdjc2.jpg
 

discoian

Active member
#9
Well maybe. I've fixed the width of XF at 960, it seems to work ok on most laptop sizes down to 12" and even on my iPad looks pretty cool.
 
Top