• I am needing to increase the padding on the left side of the wrapper div that goes around the .owl-carousel div. This div has no class or ID assigned to it and contains inline css from the UI settings. Your UI only allows up to 99px as a maximum padding. I need to have 140px on the left so I can put a descriptor div in there. How can I target this div via css?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Ok, what I suggest you do is create a “<div>” wrapper around the Slide Anything shortcode – something like:
    <div id=”myWrapper”>
    [slide-anything id=’2770′]
    </div>

    Then in your CSS file you can have:
    #myWrapper > div { padding-left:200px !important; }

    Thread Starter zmancrow

    (@zmancrow)

    Brilliant! Worked like a charm. And I should have thought of that! Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Targeting wrapper div’ is closed to new replies.