WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Target specific page for CSS editing (3 posts)

  1. sponauglebl
    Member
    Posted 1 year ago #

    This is a two part question.

    1)I am attempting to get rid of the residual right_sidebar space after the right_sidebar was disabled. i.e. use 100% of my page's width on the page's the sidebar no longer exists on.

    I added:

    body.page-id-33 #wrapper
    width: 1260px;
    margin: 25px 0 0 0;
    }

    to my style sheet and it changed the width of the wrapper for all of the pages (except for my store and cart which run under my plugin "Ecwid Shopping Cart").

    What is the correct approach to this? I just want to target specific pages (both parent and child).

    2) When I used the above code and my entire site width WAS at 100% the images in my child pages under gallery (landscapes, fungi, etc.) did not respond by going inline - they stayed on top of one another whereas on my "gallery" page the images slid next to eachother. (which is what I want)

    I tried to make sure they were not displayed in a block and I checked for padding issues, I took off the captions to see if they corrected themselves...and no luck.

    What is going on here?

  2. sponauglebl
    Member
    Posted 1 year ago #

    I suppose you would like my website! My bad.

    http://upcavage.com

  3. sponauglebl
    Member
    Posted 1 year ago #

    It's been resolved. I used this:

    body.page-id-33 .content {
    width: 1180px;
    margin: 25px 0 0 0;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic