Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Lightbox Ultimate breaking div structure

by

Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate breaking div structure

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 10 months ago by wpCommerce.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 1, 2012 at 5:31 pm #6749
    jack96161
    Member

    I used WP video Lightbox successfully and then purchase Lightbox Ultimate for just one feature – autoplay. Formerly I used:

    <div style=”width: 500px; height: 135px; float: left;margin:0px 10px 0px 10px “>

    [video_lightbox_youtube video_id=f80BH-lPZGk width=800 height=600 anchor=”http://www.highsierradesign.com/LVA/wp-content/uploads/2012/06/motownbutton-96dpi.png”%5D

    [video_lightbox_youtube video_id=f80BH-lPZGk width=800 height=600 anchor=”http://www.highsierradesign.com/LVA/wp-content/uploads/2012/06/rockbutton-96dpi.png”%5D

    [video_lightbox_youtube video_id=f80BH-lPZGk width=800 height=600 anchor=”http://www.highsierradesign.com/LVA/wp-content/uploads/2012/06/countrybutton-96dpi.png”%5D

    [video_lightbox_youtube video_id=f80BH-lPZGk width=800 height=600 anchor=”http://www.highsierradesign.com/LVA/wp-content/uploads/2012/06/themedbutton-96dpi.png”%5D

    </div>

    to display 4 anchor images side by side, which worked perfectly — but no autoplay option.

    Using Lightbox Ultimate, I replaced this with:

    <div style=”width: 550px; height: 135px; float: left;margin:0px 10px 0px 10px “>

    [wp_lightbox_prettyPhoto_video link=”http://www.youtube.com/watch?v=f80BH-lPZGk&#8221; width=800 height=600 autoplay=”1″ source=”http://www.highsierradesign.com/LVA/wp-content/uploads/2012/06/motownbutton-96dpi.png”%5D

    [wp_lightbox_prettyPhoto_video link=”http://www.youtube.com/watch?v=f80BH-lPZGk&#8221; width=800 height=600 autoplay=”1″ source=”http://www.highsierradesign.com/LVA/wp-content/uploads/2012/06/rockbutton-96dpi.png”%5D

    [wp_lightbox_prettyPhoto_video link=”http://www.youtube.com/watch?v=f80BH-lPZGk&#8221; width=800 height=600 autoplay=”1″ sourcer=”http://www.highsierradesign.com/LVA/wp-content/uploads/2012/06/countrybutton-96dpi.png”%5D

    [wp_lightbox_prettyPhoto_video link=”http://www.youtube.com/watch?v=f80BH-lPZGk&#8221; width=800 height=600 autoplay=”1″ sourcer=”http://www.highsierradesign.com/LVA/wp-content/uploads/2012/06/themedbutton-96dpi.png”%5D

    </div>

    However, the plugin now wraps every one of these 4 items with a <div class=”lightbox_ultimate_anchor lightbox_ultimate_image_anchor “>…</div> so the resulting page source looks like:

    <div class=”lightbox_ultimate_anchor lightbox_ultimate_image_anchor “>

    <img src=”http://www.highsierradesign.com/LVA/wp-content/uploads/2012/06/motownbutton-96dpi.png&#8221; alt=”” />

    </div>

    <div class=”lightbox_ultimate_anchor lightbox_ultimate_image_anchor “>

    <img src=”http://www.highsierradesign.com/LVA/wp-content/uploads/2012/06/rockbutton-96dpi.png&#8221; alt=”” />

    </div>

    <div class=”lightbox_ultimate_anchor lightbox_ultimate_image_anchor “>

    <img src=”” alt=”” />

    </div>

    <div class=”lightbox_ultimate_anchor lightbox_ultimate_image_anchor “>

    <img src=”” alt=”” />

    </div>

    which breaks my block flow. How can I prevent the plugin adding the

    <div class=”lightbox_ultimate_anchor lightbox_ultimate_image_anchor “>… </div>

    around these 4 items?

    The site under development is http://www.highsierradesign.com/LVA/ there should be 4 anchor images beneath the large video anchor image..

    Jack

    July 1, 2012 at 6:06 pm #46781
    jack96161
    Member

    Solved it — had to add

    .lightbox_ultimate_image_anchor {

    position: relative;

    display: inline;

    }

    to the CSS — now works… and autoplays!!!

    July 2, 2012 at 1:21 am #46782
    wpCommerce
    Moderator

    Hi, I’m glad to hear that you figured it out.

    Lightbox Ultimate comes with a range of shortcodes to popup various media files. Instructions for using the shortcodes are available here (Plugin Usage section):

    WordPress Lightbox Ultimate Plugin – Display Media in a Fancy Lightbox Overlay

    You can also customize the look and feel of each shortcode anchor. If you want to use the same CSS for all the shortcode anchors of your site please follow the instructions outlined here:

    Lightbox Ultimate – How to Add Custom CSS to a Lightbox Anchor (Text or Image)

    If you want to customize each shortcode anchor with different CSS please follow the instructions outlined here:

    http://www.tipsandtricks-hq.com/wp-affiliate-link-manager/how-to-style-a-lightbox-shortcode-anchor-118

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ