Support » Plugin: wp-flickr-press » Add custom CSS to photos

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tatsuya

    (@tatsuya)

    I think it’s possible if you edit the style.css of the theme.
    How about that?

    gpyrgiot

    (@gpyrgiot)

    You can do it although it is not very functional.
    1) Select the alignment setting fro your images.
    2) Go to the settings of the plugin and scroll down to the Extend Image Class Property setting.
    3) There define an class property e.g. Title=with border and class=border. You can have multiple settings for various configurations.
    4) Click save.
    5) Go to your post and click the button of the wp-flickr-press.
    6) Go from the Search list option and select the image you want and click show.
    7) Scroll down to and select the [+] Image Class Property option.
    8) From the pop up list select the one you want e.g. with border
    9) The inserted image will now have a setting with class="alignnone border'
    10) At the CSS file of your theme (I recommend to use the jetpack and use the edit CSS option create the class and format it as you want.
    11) Create the class

    img.alignnone.border {
    width:100%;
    border: 2px;
    }

    It is not very practical if you want to add many images but it works. Other than that you can just insert them and then do a find and replace. class="alignnone' with class="alignnone border'

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add custom CSS to photos’ is closed to new replies.