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?

Viewing 1 reply thread
  • Author
    Posts
    • #5009
      Celia Palacios
      Participant

      Hi, osCitas developers:

      I have two questions:

      1. Can I use two custom classes as atributes for shortcodes? For example,
        [ebs_column md="6" sm="12" xs="12" class="class1 class2"]
      2. 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 9 years ago by Celia Palacios. Reason: Better readability
      • This topic was modified 9 years ago by Celia Palacios. Reason: Typo
    • #5012
      osCitas Themes
      Keymaster

      Hi 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.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.