header logo background question [solved]

Theme, template, layout, or image issues

header logo background question [solved]

Postby Lorkam » Fri May 15, 2009 10:35 am

Alright tried using the forum search with no luck. I know how to change the url header logo through display config. But for the life of me I can't find where to set the background color of the header to transparent in my template files. Plus I am wanting to remove the frame around the header logo too. So where are the individual border code located? I know where the general border setting/code are but that would change them globally which I'm not wanting to do. I have a image here as you can see if you follow the link.. It is my guild logo and as you can see it would look better on a transparent background without the border frame around it.

Link to site......http://deathbringer.us/(h)roster/
Last edited by Lorkam on Fri May 15, 2009 7:11 pm, edited 1 time in total.
Roster Version 2.0.2
Roster Guild Deathbringershttp://deathbringer.us/(a)roster/
Roster Guild Deathbringer(new roster template) http://deathbringer.us/(h)roster/
Guild site hosted and templated by WoWGuilds.ca (highly recommend) http://deathbringers.us/
Image
User avatar
Lorkam
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Mon Jul 10, 2006 12:21 pm

Re: header logo background question

Postby PleegWat » Fri May 15, 2009 6:52 pm

templates/default/header.html, bottom of the file:

Code: Select all
<!-- IF S_HEADER_LOGO -->
<div align="center" style="margin:10px;">
        <table class="border_frame" cellpadding="0" cellspacing="1">
                <tr>
                        <td class="border_color sgoldborder"><a href="{WEBSITE_ADDRESS}"><img src="{HEADER_LOGO}" alt="" style="border:0;" /></a></td>
                </tr>
        </table>
</div>
<!-- ENDIF -->


replace with:

Code: Select all
<!-- IF S_HEADER_LOGO -->
<div align="center" style="margin:10px;">
        <a href="{WEBSITE_ADDRESS}"><img src="{HEADER_LOGO}" alt="" style="border:0;" /></a>
</div>
<!-- ENDIF -->


or something along those lines.

Do we have a cheatsheet on template syntax somewhere? I know it by heart myself, and the other devs probably do too, but still. I think the syntax is from phpbb, but we made some of our own additions.
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Re: header logo background question [solved]

Postby Lorkam » Fri May 15, 2009 7:12 pm

Ahh your a savior bro. I been trying to figure it out for a few days now. :salute: I'm gonna mark this solved!
Roster Version 2.0.2
Roster Guild Deathbringershttp://deathbringer.us/(a)roster/
Roster Guild Deathbringer(new roster template) http://deathbringer.us/(h)roster/
Guild site hosted and templated by WoWGuilds.ca (highly recommend) http://deathbringers.us/
Image
User avatar
Lorkam
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Mon Jul 10, 2006 12:21 pm

Re: header logo background question [solved]

Postby PleegWat » Fri May 15, 2009 8:57 pm

Yup, does look much better that way. If you're going to make a lot of changes to your theme (it looks like it) you may want to make a copy of the default theme with your own theme name.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm


Return to Appearance

Who is online

Users browsing this forum: No registered users and 0 guests

cron