Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • newdm Friend
    #142865

    I want some of images (not all) in articles to not have white background and padding. For example: logos, download icons, etc.

    How to create a specific class for them?

    I have tried with something like this (definitely not correct, cause it doesn’t work):

    .img_blank img {
    background: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    }

    I need urgent help.

    Thanks in advance.

    newdm Friend
    #311616

    I just have figured it out myself

    The correct syntax is

    img.blank {
    background: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    }

    amirsarya Friend
    #391089

    <em>@newdm 137428 wrote:</em><blockquote>I just have figured it out myself

    The correct syntax is

    img.blank {
    background: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    }

    </blockquote>

    where i have change this code or write it pls help me with the right address

    newdm Friend
    #391412

    Just add this code to tempate.css

    Then for desired images in HTML sode use class=”blank”

    For example: <img class=”blank” src=”images/stories/some_logo.jpg” >

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

This topic contains 4 replies, has 2 voices, and was last updated by  newdm 13 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum