This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Custom CSS border picture

Open 10 replies premiumthemetheme-vantage
11 years ago · Last reply by Andrew Misplon 11 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

10
  1. Andrew Misplon Staff 11 years, 7 months ago

    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. Sascha Drömer 11 years, 7 months ago

    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. Sascha Drömer 11 years, 7 months ago

    without a frame

  4. Andrew Misplon Staff 11 years, 7 months ago

    Hi Sascha

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

  5. Sascha Drömer 11 years, 7 months ago

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

  6. Andrew Misplon Staff 11 years, 7 months ago

    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. Sascha Drömer 11 years, 7 months ago

    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. Andrew Misplon Staff 11 years, 7 months ago

    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. Sascha Drömer 11 years, 7 months ago

    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. Andrew Misplon Staff 11 years, 7 months ago

    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.

Have a different question or issue?

Start New Thread