specify one page in CSS

Discussion in 'SaleJunction E-Commerce WordPress Theme' started by dseiter, Nov 13, 2013.

Thread Status:
Not open for further replies.
  1. dseiter

    dseiter Guest

    Joined:
    Feb 28, 2013
    Messages:
    20
    Likes Received:
    0
    I'm trying to change the background image on 3 specific pages.

    i've tried
    .body.page-id-xx
    post-id-xx
    and a handful of others that always worked on other wordpress sites.

    What is the magic trick to identifying the page ID with this theme.

    This is ONE of the pages: http://www.etwo-ts.com/brass/

    I know how to find the page ID in the pages list... just need to correct css syntax
    thanks
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    You can use format given below.

    Code:
    .page-id-xx .body{
     
    }
    Thanks & Regards
    Nitesh Raghuwanshi
     
  3. dseiter

    dseiter Guest

    Joined:
    Feb 28, 2013
    Messages:
    20
    Likes Received:
    0
    OK... my fault for not asking the right question.... Below is what I'm trying to accomplish...
    Change the background "wrapper content" for specific pages.

    the top one works, but becomes the default for all pages. I'd like to specify the page and have the background be specific to the page (aluminum, brass, etc.)

    The below css is not working... (well, the top one does, but when I specify the page ID, nothing changes.

    .content_wrapper .page-content {
    background:#7C7C80 url('/wp-content/uploads/2013/11/aluminum.jpg');
    }

    .page-id-108 .content_wrapper .page-content {
    background:#000000 url('/wp-content/uploads/2013/11/brass.jpg');
    }

    .page-id-110 .content_wrapper .page-content {
    background:#000000 url('/wp-content/uploads/2013/11/copper.jpg');
    }
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
  5. dseiter

    dseiter Guest

    Joined:
    Feb 28, 2013
    Messages:
    20
    Likes Received:
    0
    it seems that you don't read the full thread. The page link is in the first post. and I don't understand why you need my login info. i've provided the css above for the section I'm trying to change. how is it necessary that you need to log-in??? you guys make this incredibly frustrating!! just need to specify the page and be able to change that exact section based on page ID.....
    since i have no choice....i'll send it over...
     
  6. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Issue resolve. Please check your site.
     
  7. dseiter

    dseiter Guest

    Joined:
    Feb 28, 2013
    Messages:
    20
    Likes Received:
    0
    Wouldn't it make a hell of a lot more sense for you to explain what you did???? It doesn't appear that you adjusted my styles.css file at all.... If you provided the solution here, other people reading these forums might actually find them somewhat useful...

    Sorry to seem pissy, and I truly appreciate that you fixed it... but your "solution" is of absolutely no use to be if I can't duplicate it.

    give a man a fish, he'll eat for a day, TEACH a man to fish, he'll eat for a lifetime... Please teach me to fish! :)
     
  8. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Body class is missing in the header.php. Which we have added at your site. Updated theme also available in members area.
     
  9. dseiter

    dseiter Guest

    Joined:
    Feb 28, 2013
    Messages:
    20
    Likes Received:
    0
    thanks.
     
Thread Status:
Not open for further replies.

Share This Page