Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 06:03 am EST

Geeklog Forums

how can i use a background jpg for sidebars?


pleasehelp21

Anonymous
I've been experimenting around with the style.css file and I've noticed that the "background: " change only applies to colors such as " #000000." I've tried putting in the following:

"background: http://www.mysite.com/layouts/professional/images/image.jpg"

and it will not work.

Please help! How can I use an image as the background for the sidebars?

 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Go to w3.org to learn about CSS.

In this case you need
Text Formatted Code
td.block-featured-left
{
   background-image: url(http://yoursite.com/whereever/it/is.jpg);
   background-color: #000000;
}
 
Use the background-color too in case the client fails to load the image file. Just use colors similar to the image rather than the black above.
 Quote

pleasehelp21

Anonymous
confused
Thanks! That worked. Can You also tell me how I can change the font color on the side menu bars?

Also, how can I change the wording on the side menu bar for things? For example, I would like to change:

"Who's Online" to simple "Online"

and I also want to center "Online" and change the font color for it....

Can anyone help?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by pleasehelp21: Also, how can I change the wording on the side menu bar for things? For example, I would like to change:

"Who's Online" to simple "Online"

Simply change the block title from the Admin's block editor.

bye, Dirk
 Quote

All times are EST. The time is now 06:03 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content