• Resolved Granddadscott

    (@granddadscott)


    I am not that up on css code and would like to add a border to the images shown.
    can i do it by adding the attribute Border to the short code.
    And if so how would it be, example please.

    Any help much appreciated.

    This is exactly the plugin I was looking for and works extremely well and is simple to use.
    Very well done.

Viewing 1 replies (of 1 total)
  • @granddadscott

    Since the shortcode provides functionality only and leaves the styling up to the theme, there is no way to set the border with the shortcode.

    That can definitely be done with CSS, but may likely affect other images as well. You may be better off switching into the ‘Text’ tab on the content editor and adding a wrapping div with an inline style, like this:

    <div style="border: 1px solid black;">
    [mpress_image_refresh]
    </div>
    • This reply was modified 8 years, 5 months ago by Micah Wood.
Viewing 1 replies (of 1 total)
  • The topic ‘Adding a solid border’ is closed to new replies.