Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] Repeating Background Image for entire site

Old Sep 22, 2012, 10:54 AM
23 posts · Mar 2010
I'm admittedly not great with CSS selectors and such, but I'm trying to set a repeating image as the background of my whole site.

I've been editing the content.css file, here:
/************************************************** ******************
************************************************** ******************/

body {
margin: 0;
padding: 0;
font-family: "Segoe UI", "Lucida Grande", "Helvetica Neue", sans-serif;
font-size: 15px;
opacity: 0; /* <--- will be turned on ( = set to '1' ) with jQuery
after google fonts, if any, have loaded and masonry layout,
if any, was applied */
background: ("http://www.drjeremysharp.com/test/wp-content/themes/montezuma/images/grid.png");
In the red section, I've tried all sorts of things to put the image there, but all of them produce a white background, like nothing's changed. I've tried
- background-image: url('wp-content/themes/montezuma/images/grid.png');
- background: url('wp-content/themes/montezuma/images/grid.png');
- background-image: ('http://www.drjeremysharp.com/test/wp-content/themes/montezuma/images/grid.png');

The image itself is 200 x 200 and grey.

Anything jumping out as obviously wrong? I was able to edit the color no problem, but when I try the image it doesn't work.
Old Sep 22, 2012, 11:52 AM
23 posts · Mar 2010
Figured it out.

For some reason, this works:

background: url( %tpldir%/images/grid.png );
Old Sep 22, 2012, 02:03 PM
lmilesw's Avatar
10,176 posts · Jul 2009
Central New York State USA
Your were just missing "url" before the link to the image in your original code.
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop my background image from repeating keeping as a set size feverproject Header configuration & styling 2 Aug 27, 2012 02:48 PM
Need a repeating background image in POST container not PAGE. gr870sfunk Center area post/pages 10 Apr 27, 2012 01:49 PM
repeating background image not showing up in 3.4.2 sirabi Header configuration & styling 1 Sep 13, 2009 11:12 AM
Stretch Background Image To Fill Entire Page tim5046 Header configuration & styling 3 Jun 9, 2009 10:35 AM
Sidebar repeating background image JCCrgb Sidebars & Widgets 4 May 17, 2009 08:31 PM

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

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