Home>Support>Custom CSS border picture

Custom CSS border picture

To view the images one frame is created. Basically, this is so very beautiful and I want to basically retained. But you can turn off individually as well? I use the PageBuilder. If I add an image with Image (PB), I would like to disable it for this single image. Or for a page / post. Is this possible with custom css?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Hi Sascha

    Sorry, not really following you. Do you have a link of this live so I can visually see what you’re explaining?

  2. 10 years, 2 months ago Sascha Drömer

    hi,

    thank you that you help me. Images that are integrated in an article or a page at issue. For example, post No. 21 In this post, all images are displayed ohnen frame. Here the picture.

    https://dl.dropboxusercontent.com/u/12684660/Vantage_pic.jpg

  3. 10 years, 2 months ago Sascha Drömer

    without a frame

  4. 10 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Hi Sascha

    Would you like to turn that frame off? You can do so under Appearance > Customize > Page: Image Shadow and Rounding.

  5. 10 years, 2 months ago Sascha Drömer

    Yes, I liked the off but not generally for specific pages or posts.

  6. 10 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Ok with you now. Here is the selector to remove image shadow and rounding, you’ll just need to preface this with the page class. You’ll find the page class by checking the body tag in the html source.

    /* Vantage Remove Image Shadow and Rounding */
    
    .entry-content img { -webkit-border-radius: 0 !important; -moz-border-radius: 0 !important; border-radius: 0 !important; -webkit-box-shadow: none !important; -moz-box-shadow: none !important; box-shadow: none !important }

    So for example, the page class for this page http://demo.siteorigin.com/vantage/plugin-intergration/ is:

    page-id-2

    so the selector would look as follows to remove the shadow:

    /* Vantage Remove Image Shadow and Rounding */
    
    .page-id-2  .entry-content img { -webkit-border-radius: 0 !important; -moz-border-radius: 0 !important; border-radius: 0 !important; -webkit-box-shadow: none !important; -moz-box-shadow: none !important; box-shadow: none !important }
  7. 10 years, 2 months ago Sascha Drömer

    Hi,
    that’s not quite perfect. It should always work. For pages or articles but disable. So the other way around. You’ve basically disabled it now. And it is activated individually.

    Sorry for the english. It is translated with google from the German.

    Thank you for the help

  8. 10 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Got you. Try this:

    /* Vantage Add Image Shadow and Rounding for Pages and Single Posts and the Blog */
    
    .page .entry-content img, .post .entry-content img, .blog .entry-content img {
    	height: auto;
    	-webkit-border-radius: 3px;
    	-moz-border-radius: 3px;
    	border-radius: 3px;
    	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.175);
    	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.175);
    	box-shadow: 0 1px 2px rgba(0,0,0,0.175);
    	max-width: 100%;
    }
  9. 10 years, 2 months ago Sascha Drömer

    Very, very many thanks for your efforts. But I do not understand and do not see what it does. How can I disable on page 21, the frame now?

    Very, very many thanks for your help and support.

  10. 10 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    That selector adds the image shadow for pages, posts and the blog page. To add it for one page just change the selector but keep the properties the same, something like this:

    .page-id-2 .entry-content img {
    	height: auto;
    	-webkit-border-radius: 3px;
    	-moz-border-radius: 3px;
    	border-radius: 3px;
    	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.175);
    	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.175);
    	box-shadow: 0 1px 2px rgba(0,0,0,0.175);
    	max-width: 100%;
    }
Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More