How to nest "content type" shortcodes within "box type" shortcodes?
Home › Forums › Easy Bootstrap Shortcodes PRO › How to nest "content type" shortcodes within "box type" shortcodes?
Tagged: custom class, multiple, nesting, shortcodes
- This topic has 1 reply, 2 voices, and was last updated 11 years, 3 months ago by
osCitas Themes.
-
AuthorPosts
-
-
March 26, 2015 at 4:48 am #5009
Celia Palacios
ParticipantHi, osCitas developers:
I have two questions:
- Can I use two custom classes as atributes for shortcodes? For example,
[ebs_column md="6" sm="12" xs="12" class="class1 class2"] - I want to nest some content into some boxes. For example, a row with two columns within a frame or a well. I have tried several scenarios, where I tried to simply nest the correspondent shortcodes, but it doesn’t work; the frame is above the columns, the well is above the panel or columns, and so on
Here is my code:
[ebs_frame ... class="frm1"]
[ebs_lead align="center"]Content[/ebs_lead]
[ebs_column md="6" sm="12" xs="12" class="class1 class2"]
[ebs_sectionheading class=""]Content[/ebs_sectionheading]
More content that should be centered within the first column…
[ebs_thumbnail link="http://www.example.com" src="http://example.com/logo.png"]
More content in column 1…
[/ebs_column][ebs_column md="6" sm="12" xs="12" class="class1 class3"]
[ebs_sectionheading class=""]Content[/ebs_sectionheading]
More content that should be right aligned within the second column…
[ebs_thumbnail link="http://www.example.com" src="http://example.com/logo.png"]
More content in column 2…
[/ebs_column]
[/ebs_frame]
-
This topic was modified 11 years, 3 months ago by
Celia Palacios. Reason: Better readability
-
This topic was modified 11 years, 3 months ago by
Celia Palacios. Reason: Typo
- Can I use two custom classes as atributes for shortcodes? For example,
-
March 26, 2015 at 5:45 am #5012
osCitas Themes
KeymasterHi Celia Palacios,
Thanks for contacting us. Regarding your queries
1. Yes you can use the two different classes.
2. Here you have missed the row end part of columns shortcode that’s why it is not working. Correct shortcode is
[ebs_frame ... class="frm1"] [ebs_lead align="center"]Content[/ebs_lead] [ebs_row] [ebs_column md="6" sm="12" xs="12" class="class1 class2"] [ebs_sectionheading class=""]Content[/ebs_sectionheading] More content that should be centered within the first column… [ebs_thumbnail link="http://www.example.com" src="http://example.com/logo.png"] More content in column 1… [/ebs_column] [ebs_column md="6" sm="12" xs="12" class="class1 class3"] [ebs_sectionheading class=""]Content[/ebs_sectionheading] More content that should be right aligned within the second column… [ebs_thumbnail link="http://www.example.com" src="http://example.com/logo.png"] More content in column 2… [/ebs_column] [/ebs_row] [/ebs_frame]Please feel free to contact us in case you still face issue.
-
This reply was modified 11 years, 3 months ago by
osCitas Themes.
-
This reply was modified 11 years, 3 months ago by
-
-
AuthorPosts
- You must be logged in to reply to this topic.
Basic Elements
Interactive
Content
Miscellaneous
Social
Search
Accordion
Animation Shortcode
Badge
Blur
Boxframe
Button
Button Group
Columns
Description List
Dropcap
Google Map
Highlights
Horizontal Rule
Image Effects
Label
Lead
List
Notifications
Page Header
Panel
Popover
Pricing Table
Progress Bar
Section Heading
Separator
Servicebox
Tables
Tabs
Testimonial
Video
Well
Widget