Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   Sidebar repeating background image (http://forum.bytesforall.com/showthread.php?t=1674)

JCCrgb May 15, 2009 06:20 PM

Sidebar repeating background image
 
I am trying to insert a repeatable jpeg as a background image for the left sidebar. How can I insert it? Would it help to convert to another format?

Thnx, JC

Flynn May 16, 2009 08:07 PM

jpeg should be fine

td#left {
background: url(/path/to/image.jpg);
}

JCCrgb May 17, 2009 12:10 PM

Thnx. I have tried it but can't seem to get it to work. I am assuming this goes into the style.css under left sidebar. I am running WAMP to work on it off line. Could this be part of the issue or I am in the wrong ballpark?

It looks like this:
/* ------------------------------------------------------------------
---------- LEFT SIDEBAR ---------------------------------------------
------------------------------------------------------------------ */

td#left {
vertical-align: top;
background: url(/localhost/web/wordpress/wp-content/themes/atahaulpa3/images/Roadstripe3-226w.jpg);
/* more ... */
}

Again, thanks for the help!

JC

Flynn May 17, 2009 06:55 PM

Remove the red part, perhaps /web too, depends on where your WP installation is located at. And you should put this in HTML/CSS Inserts -> CSS Inserts, instead of manually editing style.css

background: url(/localhost/web/wordpress/wp-content/themes/atahaulpa3/images/Roadstripe3-226w.jpg);

JCCrgb May 17, 2009 09:31 PM

I got it! Thanks!

JC


All times are GMT -6. The time now is 06:34 PM.

Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.