Announcement

Collapse
No announcement yet.

How do I reduce the padding around images in CMS articles?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MagicDeckVortex
    replied
    This worked great. Thank you!!!

    Leave a comment:


  • MRGTB
    replied
    border:none; http://www.w3schools.com/css/pr_border-style.asp

    Leave a comment:


  • anthonyparsons
    replied
    Additional.css

    HTML Code:
    .article img {
    	border:0;
    	margin:1px;
    }

    Leave a comment:


  • MagicDeckVortex
    replied
    I did as you mentioned above -- but the margins were all set to 0 already. I added the cost into the additional.cms and changed it to 1 -- but nothing changed. :/

    Leave a comment:


  • anthonyparsons
    replied
    You can also adjust from vbcms.css:

    HTML Code:
    .article img {
    	border:0;
    	margin:{vb:stylevar padding};
    }
    I would highly recommend you don't adjust it within vbcms.css, but instead copy it out and paste it into additional.css and modify it there.

    Change {vb:stylevar padding} to 1px or 2px, etc, to what you want to achieve.

    Leave a comment:


  • anthonyparsons
    replied
    The padding is controlled by common > padding stylevar.

    Leave a comment:


  • How do I reduce the padding around images in CMS articles?

    In the forum, when three images are next to each the padding around the images is fine. However, when three images are next to each other in a CMS article, the padding is too much. I would say about 8 pixels too much (give or take).

    How do I change this so that the padding around images in CMS articles is one or two instead of 10?

    NOTE: I don't believe I asked this before or received an answer on this issue. If this has been asked and answered before I apologize. I did do a quick search on the issue and couldn't find anything in the last few months.

    Thank you in advance for your help! If you need screenshots, please let me know.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X