[Solved] Removing caption/title from additional images

edited April 2013 in Shopping Cart plugin
Hello - is it possible to stop the colorbox displaying the image name as a caption when viewing the additional images? i have had a look in the code but couldn't work out exactly what I needed to change. Thanks :)

Comments

  • 3 Comments sorted by
  • Vote Up0Vote Down
    Hi mandsmc,

    Thanks for your post!

    There's are much cleaner ways of doing it than hacking the plugin code :)

    1. If the image has a title attribute, colorbox will display the title and not the image name.

    2. You can remove the caption altogether using custom CSS. Simply enter the following code into "Use Custom CSS" under Checkout > Configuration > General > Theme, Scripts & Custom CSS (bottom of the page):

    #colorbox #cboxTitle { display: none !important; }

    Please let us know if this helps, will you? I look forward to your reply.

    Kind regards,

    Phil
  • Vote Up0Vote Down
    Perfect - thanks!!! :)
  • Vote Up0Vote Down
    You're most welcome!

    Glad it works for you, whichever method you used. :)

    Best regards,

    Phil
Sign In or Register to comment.