Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    If you use [wppa type="mphoto" photo="..."][/wppa]
    the same css as your default wp media photos will be used.
    If you use [wppa type="photo" photo="..."][/wppa]
    you can add your own css to class .wppa-sphoto
    You can add this in Table IV-A15: Custom style like (example):

    .wppa-sphoto {
    margin: 4px;
    padding: 3px;
    border: 1px solid #777777;
    }

    Thread Starter Jakob

    (@jakobbader)

    Thank you Jacob…

    Thread Starter Jakob

    (@jakobbader)

    Sorry I have to get back on this…

    It doesn’t seem to have any effect, Jetpack/Photon is disabled, cache is emptied. I tried with img in front of .wppa-sphoto, the same as well… I’m not sure if that is connected, but I try with Table IV-A16 active however no effect…

    I like to use [wppa type=”photo” photo=”2″ size=”200″ align=”left”][/wppa] as this is the code entered through the wppa+ shortcode generator (easy for the people to use) I copied your code where you said.

    The site is here http://212.18.230.226/~blindjogging/aktuelles/

    Thanks

    Jakob

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Make it this:

    .wppa-sphoto-1 {
    margin: 10px !important;
    }

    Thread Starter Jakob

    (@jakobbader)

    Nice!

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Setting for margin on photos insert in posts with shortcode?’ is closed to new replies.