Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Composer root shortcode container

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 ?

like image 828
Inglebard Avatar asked Aug 01 '17 09:08

Inglebard


People also ask

Which Visual Composer is used to place pictures?

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.


1 Answers

“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

like image 192
Kondal Avatar answered Nov 16 '22 01:11

Kondal