Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Unable to set background image in center column on one page


  #1  
Old Feb 18, 2013, 09:26 AM
NetMonkey's Avatar
NetMonkey
 
23 posts · Oct 2011
Little Rock, AR
Hello all,

Wow, this started out to be something I thought was simple. After 3.5 hours, I need help. I've searched the forum, read every example I thought would be helpful, but nothing I've attempted has worked.

I'm using ATA 3.7.10. All I'm trying to do is set a background image for one page that has an ID of 49. I just need the image to display in the center column as a background. I've tried to set css in both the css/html inserts section, and the style & edit center column, but nothing works.

I (know) my url path is correct, the file name is correct, the image is there, but regardless the css coding, nothing displays.

I've tried so many css examples like below, but nothing:

.background {
background: url(http://localhost/NetMonkeys/images/crossroads.png;
}

#page-49 {
background-image: http://localhost/NetMonkeys/images/crossroads.png !important;
}

#body.page-id-49 td.middle{
background-image: url(http://localhost/NetMonkeys/images/crossroads.png)
}
I'm developing the site in a local wamp setup, so I can't show an example. Could someone please help me out?

Barry
  #2  
Old Feb 18, 2013, 12:20 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
Your syntax is a bit amiss. A rework of one of your examples MIGHT work.
HTML Code:
body.page-id-49 td#middle{
background-image: url(http://localhost/NetMonkeys/images/crossroads.png)
}
You had a # where a . should be and a . where a # should be.

Remember, use a # (pound sign) when working with an ID
use a . (period) when working with a class
don't use anything on an HTML element (like body or div etc)
__________________
~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.

Last edited by juggledad; Feb 18, 2013 at 01:09 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding background image to center column, no sidebars used morgana123 Center area post/pages 1 Jan 14, 2013 08:49 AM
[SOLVED] Positioning center column with a fixed left margin on background image annsworld Center area post/pages 18 Jun 23, 2011 04:30 AM
[SOLVED] Background image in center column??? theadventurebite Center area post/pages 3 Jan 18, 2011 01:25 PM


All times are GMT -6. The time now is 01:47 AM.


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