Hello. I'm using the column shortcode to insert 4 images in my frontpage but all the images are not aligned correctly.
It seams that each picture is wrapped by a "p" tag and gets extra margin on top.
How can I fix this?
Hello. I'm using the column shortcode to insert 4 images in my frontpage but all the images are not aligned correctly.
It seams that each picture is wrapped by a "p" tag and gets extra margin on top.
How can I fix this?
I think it has something to do with Wordpress editor because everytime I try to insert a short code the alignment breaks.
Make sure that the shortcodes are in the same line and separate them with a blank. WP often adds a paragraph tag to the html output if you use line breaks.
Eg following code sometimes won't work:
[one_half first]
Powered by our very own supper flexible Avia Framework! Lots of easy to customize options that help you instead of overwhelm
[/one_half]
[one_half]
A visual shortcode editor with live preview function helps to create interesting layouts, such as this one !
[/one_half]
but:
[one_half first]
Powered by our very own supper flexible Avia Framework! Lots of easy to customize options that help you instead of overwhelm
[/one_half] [one_half]
A visual shortcode editor with live preview function helps to create interesting layouts, such as this one !
[/one_half]
should always work.
You must log in to post.