Add a border to top of a widget

Go down

Add a border to top of a widget Empty Add a border to top of a widget

Post by Doctor Inferno on September 1st 2008, 11:31 am

How do I add a border to the top of a widget where the widget title is placed?
Doctor Inferno
Doctor Inferno
Active Poster

Male Posts : 1331
Reputation : 30
Language : GeekPolice
Location : Singapore

View user profile http://www.GeekPolice.net

Back to top Go down

Add a border to top of a widget Empty Re: Add a border to top of a widget

Post by Jalokim on September 1st 2008, 1:07 pm

in forum widgets or portal widgets??
Jalokim
Jalokim
Energetic

Male Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland

View user profile

Back to top Go down

Add a border to top of a widget Empty Re: Add a border to top of a widget

Post by Doctor Inferno on September 1st 2008, 2:28 pm

portal widgets. Smile
Doctor Inferno
Doctor Inferno
Active Poster

Male Posts : 1331
Reputation : 30
Language : GeekPolice
Location : Singapore

View user profile http://www.GeekPolice.net

Back to top Go down

Add a border to top of a widget Empty Re: Add a border to top of a widget

Post by zakir321 on September 2nd 2008, 9:13 pm

Hi,

you could do that by adding this code into your stylesheet (Display / Colors / CSS Stylesheet), this would create a 1-Pixel line just above every module. Just modify the color code to your needs and submit:

Code:
.portal .module{border-top:1px solid #ffffff;}
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

View user profile

Back to top Go down

Add a border to top of a widget Empty Re: Add a border to top of a widget

Post by Doctor Inferno on September 3rd 2008, 4:00 am

Ok, if for example, i want to add this picture instead of a line, how do i put it? (i want text to be placed over it)

Add a border to top of a widget New_ta10
Doctor Inferno
Doctor Inferno
Active Poster

Male Posts : 1331
Reputation : 30
Language : GeekPolice
Location : Singapore

View user profile http://www.GeekPolice.net

Back to top Go down

Add a border to top of a widget Empty Re: Add a border to top of a widget

Post by zakir321 on September 4th 2008, 1:45 am

You want to create a background for the module titles? Try if this code below does the wanted effect:

Code:
.portal .module .h3, .portal .module h3{background-image:url(http://geekpolice.net/users/89/79/54/album/new_ta10.png); height:20px; padding-top:8px;}
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

View user profile

Back to top Go down

Back to top


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