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 » 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
Unhappy Unable to set background image in center column on one page

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,176 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 06:02 AM.


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