Adding Classes to [box_frame] shortcode

Support Forums for LiveMesh Themes & Plugins Forums Enigmatic Theme Support Adding Classes to [box_frame] shortcode

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by Livemesh livemesh 6 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1323
    Post count: 9


    I was just wondering if there was a way of adding a class to a shortcode.

    I have tried: [box_frame2 align="center" title="Business Services" style="width:100%" inner_style="padding:20px;" class="box_frame_first"]

    I was to asign a class to the box so that in different media queries I can assign a height to them?

    Post count: 1011

    At present the box_frame2 shortcode automatically assigns a class named ‘box-frame2’ to all the elements created through this shortcode. How about having a wrapper div around this shortcode so that you can style each box_frame2 uniquely?

    [box_frame2 align="center" title="iPhone Hacks" style="width:275px" inner_style="padding:20px;"] ..... [/box_frame2]

    Then you can target this box by having .box1 .box-frame2 {}. Better than making a code change. Hope that works for you. Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.