1
Lyanna
Grrrr ... theme logo problem
  • 2004/12/24 16:46

  • Lyanna

  • Just popping in

  • Posts: 2

  • Since: 2004/12/24


I am using the lucastds02b theme for my website at http://greenajah.whitetowerdiv.org and it works great. I have one minor problem that I just don't seem to be able to get fixed.

I wanted a new banner, which was slightly longer than the original, but I figured it wouldn't be much of a hassle to change that in the template and CSS. The original logo was 250px wide and 90px high. The new logo is 471px wide and 90px high.

The original code to display this in the CSS was:

#top td.logo {width: 250px; background-color: #CCE0CC; vertical-align: middle; border-top: 1px solid #7FB27F; border-bottom: 1px solid #7FB27F;}


So I changed that to

#top td.logo {width: 471px; background-color: #CCE0CC; vertical-align: middle; border-top: 1px solid #7FB27F; border-bottom: 1px solid #7FB27F;}


I also adapted the height and width in the theme.html (which belongs to the lucastds02b theme) to 471px instead of 250px.

But it still doesn't work!. When I view the index page source I still see

<td class="logo"><a href="http://whitetowerdiv.org/GreenAjah/"><img src="http://whitetowerdiv.org/GreenAjah/themes/lucastds02b/logo.gif" width="250" height="90" alt="" />a>td>


It isn't pulling that height and width from the CSS, nor from the theme.html apparently. What am I overlooking?

2
ackbarr
Re: Grrrr ... theme logo problem

you probably have the same problem as the person in this thread:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=28953&forum=32&post_id=126297#forumpost126297

Smarty will automatically cache your theme in the templates_c directory.

3
ackbarr
Re: Grrrr ... theme logo problem

in addition, most browsers take what is embedded in the html as more important than what is in the style.css script, which is why just changing the style.css script didn't make any difference.

4
Lyanna
Re: Grrrr ... theme logo problem
  • 2004/12/24 17:42

  • Lyanna

  • Just popping in

  • Posts: 2

  • Since: 2004/12/24


Aaaahhhh! I knew it had something to do with Smarty, I just couldn't figure out what it was. I've never worked with Xoops, nor with Smarty before you see.

I knew I not only had to change the CSS but the embedded html as well but was baffled that after I'd changed both, the site still showed the old height and width. I tried to clear my cache, tried to switch to IE, but to no avail. Little did I know that there was a cache on the server too

In any case, I cleared out the cached template in the template_c direction, and lo and behold, things work

Thanks muchly for the speedy reply, I've seen different on support forums before. I'm happy with Xoops, happy with the support... what more can I ask for?

Merry Christmas!

5
Widget
Re: Grrrr ... theme logo problem
  • 2004/12/29 10:42

  • Widget

  • Just popping in

  • Posts: 46

  • Since: 2004/12/24


I just want to say that I really like how your website looked! Great work! :) Happy Holidays!

Login

Who's Online

203 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 203


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits