tweaking images on interior pages only

Community Forums Forums Design Tips and Tricks tweaking images on interior pages only

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  braddalton 1 year, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #41543

    john gronley
    Post count: 124

    Can someone tell me how to change the setting so that they will affect only the photos or images that are inserted into a page or post? I would like to add some padding, border and box shadow but when I do it affects all the images on the site?

    Below is some code that I was able to break out the .communities img and give those special formatting but I am not sure what line I would need to break out to only affect pages and posts”

    .communities a img,
    .featured-bottom a img,
    .listing-wrap a img {
    border: 1px solid #bc9b53;
    margin: 0 0 5px;
    padding: 4px;
    box-shadow: 5px 5px 5px #808c96;

    the site is



    Post count: 9747

    Grab the page i.d from the body class in the source code and use that as your selector.

    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.