The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Category color fade effect

Go down

In progress Category color fade effect

Post by Guest December 29th 2014, 6:25 am

Hey, Guest!

I've got a question about my new website http://fcnl.actieforum.com . In the figure below there's a table (1) and you can see the category header (2). I'd like to have (1) the same orange to white color fade effect as in (2).

Category color fade effect Mozq10
https://i.servimg.com/u/f39/19/05/73/25/mozq10.png

The CSS I'm using for the table is:

Code:
#right {display:none;}
#container,#content,#main {float:none !important; margin:0px !important;}
#rtopic {width:100%;margin:5px auto;padding:0 6px 5px;background-color:transparent;font-family:Verdana, Helvetica, Arial, sans-serif !important;font-size:10px !important;font-weight: 700 !important;text-align:center;border-radius:0px;}
#rtitle {height:20px;line-height:20px;color:#5B3818;;font-family:"Lucinda Grande", Verdana, Helvetica, Arial, sans-serif !important;font-size:1.2em !important;font-weight: 700 !important;}
#rtable {width:100%;background:#EEEEE9;border-collapse:collapse;}
#rtable th {padding:5px 0;background:#FA8A16;border:0px solid #1675bc;}
#rtable td {padding:5px;border:0px solid #1675bc;font-family:Tahoma;}
.ddto {width:50%;}
.ddti {width:25%;}
.ddau {width:auto;}

Could anyone please help me with that? Thank you!
avatar
Guest
Guest


Back to top Go down

In progress Re: Category color fade effect

Post by Ange Tuteur December 29th 2014, 8:05 am

Hi,

Change this line :
Code:
#rtable th {padding:5px 0;background:#FA8A16;border:0px solid #1675bc;}

to this :
Code:
#rtable th {padding:5px 0;background:url(http://2img.net/s/t/14/29/94/i_list_bg.gif) repeat-x top left #FA8A16;border:0px solid #1675bc;}
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Category color fade effect

Post by Guest December 29th 2014, 9:33 am

Yay! Great! And how do I get 1 on top of 2, so that the "last visited...", date, time etc, will be on top of the "most recent topics"?
avatar
Guest
Guest


Back to top Go down

In progress Re: Category color fade effect

Post by Ange Tuteur December 30th 2014, 6:56 am

I'm guessing #rtopic is the container, so add this in javascript codes management :
Code:
$(function(){$('#rtopic').insertBefore('.forabg:first')});

or if the widget you're using can be edited, just add this at the very bottom :
Code:
<script type="text/javascript">(function(){jQuery('#rtopic').insertBefore('.forabg:first')})();</script>
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Category color fade effect

Post by Guest December 30th 2014, 8:59 am

Ange Tuteur wrote:I'm guessing #rtopic is the container, so add this in javascript codes management :
Code:
$(function(){$('#rtopic').insertBefore('.forabg:first')});

or if the widget you're using can be edited, just add this at the very bottom :
Code:
<script type="text/javascript">(function(){jQuery('#rtopic').insertBefore('.forabg:first')})();</script>

Thanks! Smile The first one worked. Though it's using the recent topics widget, it's not a widget itself, but JS and a little bit of CSS.
avatar
Guest
Guest


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum