SimplePortal

Customization => Themes and Graphics => Topic started by: Jeet Chowdhury on February 22, 2011, 11:35:13 AM

Title: Block Not Matching Color With Simple Ads
Post by: Jeet Chowdhury on February 22, 2011, 11:35:13 AM
hi i'm using simpleportal and copyed all portal.css to all theme directory. now the block matching color in other bars but not simpleads bar see here,

(http://img143.imageshack.us/img143/2996/siteblock.th.jpg) (http://img143.imageshack.us/i/siteblock.jpg/)

Uploaded with ImageShack.us (http://imageshack.us)

how can i fix this? thanks in advance.
Title: Re: Block Not Matching Color With Simple Ads
Post by: AngelinaBelle on February 22, 2011, 03:49:14 PM
This looks like the simpleportal bars now match, but the other bar does not.
Can you provide a link to your site?
Title: Re: Block Not Matching Color With Simple Ads
Post by: Jeet Chowdhury on February 23, 2011, 12:30:46 PM
yes. here it is,

http://muskilashan.com
Title: Re: Block Not Matching Color With Simple Ads
Post by: AngelinaBelle on February 23, 2011, 12:51:51 PM
This is not a SimplePortal issue. You might like to bring it up on the support thread of the ads mod you are using.
 
 
You can look at the html to see what is going on:
* in your ad block, you are using titlebg (url(../images/theme/main_block.png) no-repeat 100% -200px)
* in your forum, the bars are done with catbg (url(../images/theme/main_block.png) no-repeat 100% -160px)
 
So the bar of the ads block is brown, and does not match the left-side bit done with cat_bar (which is blue)
 
On the forum, the bar is blue, so it matches the left-side bit.
 
You have a few options.  The easiest is to change the css of titlebg to match catbg.
Other options involve a change to the template for the ad block.
Title: Re: Block Not Matching Color With Simple Ads
Post by: Jeet Chowdhury on February 23, 2011, 03:15:24 PM
thank you. you are life saver. hehe... :)

i use catbg and it worked. but how can i use titlebg. i mean what to edit in which css? thank you. :)

see this page,

http://muskilashan.com/index.php?action=stats
Title: Re: Block Not Matching Color With Simple Ads
Post by: Jeet Chowdhury on February 23, 2011, 03:24:00 PM
i found it it problem with SimpleAds mod. its a bug, the code must be

Code: [Select]
<div class="title_bar">
<h3 class="titlebg">Sponsor Links:</h3>
</div>
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">

when select titlebg but it use cat_bg thats the problem. :D

thanks for your help. :)
Title: Re: Block Not Matching Color With Simple Ads
Post by: AngelinaBelle on February 24, 2011, 01:39:08 PM
That would work just fine in most themes, where the title bg is the same as the cat bg.
Taking the title bar away works well, too!
I hope you report the minor bug on the SimpleAds support thread.
 
I happen to know the mod's author takes considerable pride in his work, even when he is overtired and overworked.
SimplePortal 2.3.8 © 2008-2024, SimplePortal