I try to add a custom shortcode to visual composer in their editor with the function vc_map. I succeed to create a shortcode container but shortcode container are always in a "Row" element.
What is the way to create a root shortcode container to avoid an unnecessary html structure ?
In the Set Image box, you can either upload a new image or use the existing image in the media library. Once image is uploaded or selected, click Set Image button at the bottom right.
“Row“
is the main content element of Visual Composer. Rows are used to divide your page into the logic blocks with columns, columns later will hold your content blocks. Rows can be divided into the layouts (eg. 1/2 + 1/2, 1/3 + 1/3 + 1/3, and so on)
. Your page can have unlimited number of rows. To change row's position, click and drag row's drag handler (top left row's corner) and drag row around (vertical axis).
Row stretch:-
Select stretching options for row and content (Note: stretched may not work properly if parent container has "overflow: hidden"
CSS property).
Visual composer Content Elements
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With