Adding Classes to [box_frame] shortcode

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1323
    reececropley
    Member

    Hi,

    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?

    #1336
    livemesh
    Keymaster

    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)
  • The forum ‘Enigmatic Theme Support’ is closed to new topics and replies.