WordPress.org

Ready to get started?Download WordPress

Forums

Wrapping Text Around Shortcode Elements (4 posts)

  1. FordDoctor
    Member
    Posted 2 years ago #

    I have a page that has some text and I want to insert an image slide show plugin that uses [shortcode] to insert. I want the slide show which is about 400 pixels wide to align at the upper right of the page with the text aligning at the top left next to the slideshow... the text also runs past the slide show and needs to wrap below it.

    Using a table to split the page into two rows would work however the text would continue past the images and only show on half of the page.

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    does the shortcode output have a unique css class?

  3. FordDoctor
    Member
    Posted 2 years ago #

    If you mean does the plugin have CSS files - yes. I looked in the CSS folders and the template files and thought perhaps I could do something with the plugin itself. Tried a few things but nothing worked.

    I am hoping there is a simple answer to this... much in the way you can move an image around in the editor and WordPress will wrap the text but apparently shortcode pluginns and wigets are treated differently

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    the simple answer is, if you know the css class or id of the slider container, you can use 'float: left;' and some margins to format it.

    how does the html output of the slider section start, if you look for its code within the browser wen you view your site?

    or you could use a tool such as Firebug to find this css class.

    you can post a link to your site, to a post/page with the slider, if you would like someone to check this.

Topic Closed

This topic has been closed to new replies.

About this Topic