2017-03-05 24 views
0

我有一行是stretch_row_content並且有一個背景顏色,我想要做的是在這一行中添加一個容器,我查看了所有的設置,並且我沒有看到任何地方這樣做,我想添加的容器類是.content_wrapper有沒有人有任何建議?Wordpress Visual Composer容器裏面stretch_row_content

這是我行:

[vc_row full_width="stretch_row_content" css=".vc_custom_1486004355595{margin-top: -20px !important;}"][/vc_row] 
+0

爲什麼不使用Visual Composer而不是直接在代碼中添加它? –

回答

2

遵循以下步驟:1。 選擇一個行元素,使其整個寬度。 2.內部此行元素可以使用另一個行元素,它將充當行的容器。

所得輸出將是:

[vc_row fullwidth="true" equal_columns="true" attached="true" css=".vc_custom_1488750249007{background-color: #dd3333 !important;}"][vc_column][vc_row_inner][vc_column_inner][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row] 

Click to see the output result

0
enter image description here

有在列設置的選項,這使得該行作爲容器。

相關問題