Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   Need a repeating background image in POST container not PAGE. (http://forum.bytesforall.com/showthread.php?t=17406)

gr870sfunk Apr 25, 2012 04:00 PM

Need a repeating background image in POST container not PAGE.
 
Currently it's in both and I have scoured these forums + the internet for over an hour. I have tried various combinations of the following to no avail:

HTML Code:

body.page-id-2 {
background-image:none!important;


body.page-id-2 #container{
background-image:none!important;


body.page-id-2 #middle{
background-image:none!important;
}

This is what is in ATO --> Style Posts & Pages --> Post Container:

HTML Code:

margin: 0 0 30px 0;
background-image:url('http://www.savemedicaid.com/wp-content/uploads/2012/04/post-bg.jpg');
background-repeat:repeat-x;

Any help would be greatly appreciated! Thanks!

juggledad Apr 25, 2012 07:27 PM

what release of Atahualpa and WP?
What is the url showing an example?

lmilesw Apr 25, 2012 09:30 PM

Not sure if this is the issue you are having but one thing I see is no space before !important

gr870sfunk Apr 26, 2012 07:36 AM

ATA 3.7.6
WP 3.3.2 (the most recent)

I can't post a link b/c i have a coming soon plugin up, but juggle, i will PM you the temporary admin login.

Miles - I believe that space was removed when I copy+pasted the HTML in.

juggledad Apr 26, 2012 06:47 PM

you don't have a blog page so why are you asking about putting a repeating image in the post container?

gr870sfunk Apr 27, 2012 09:01 AM

I am using the STBs_Supercharge_Atahualpa367_Template_v1_4 so I can have that slideshow remain at the top of the page and the blog posts underneath it.

juggledad Apr 27, 2012 09:32 AM

sorry, if you are using that template you will have to contact STB for help.
You will notice that it is for 367 and you are on 376.

You could use the 'Multi/column Custom Query' template that is now included with the theme.

gr870sfunk Apr 27, 2012 09:58 AM

does it work the same way as STB?

juggledad Apr 27, 2012 10:19 AM

The STB template was based on the original custom query template I wrote. I also wrote a multi-column template and eventually merged the two to form the existing template. As I said, it is now included with the theme.

You can have multiple columns, custom queries, any number of posts above the columns, the page content displayed above the posts

See http://forum.bytesforall.com/showthread.php?t=15718

gr870sfunk Apr 27, 2012 10:25 AM

Ok it worked getting rid of the background on the home page behind the slideshow, but it's still on all my other pages.


EDIT----
After some poking around, I have gotten the background to go away on the other pages, using the following:

HTML Code:

#post-110,
#post-26,
#post-28,
#post-238,
#post-13
#post-11,
#post-9,
#post-7,
#post-91{
background:none !important;
}

What I don't understand is why it thinks the pages are posts. When I try the above using "body.page-id-xx" as the selector the original background color and image show up again.

lmilesw Apr 27, 2012 01:49 PM

post is WordPress speak for pages or posts. body.page-id-xx refers to the body on that page or post.


All times are GMT -6. The time now is 03:58 PM.

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