Forums

Gallery not displaying in columns (4 posts)

  1. Freekkie
    Member
    Posted 4 years ago #

    Howdy folks!

    I need a bit of help with my own theme. For some reason a recent edit I made broke the gallery display so that the images are now beneath each-other instead of next to eachother in neat columns.

    I've tried the addition of the column definition in the gallery shortcode but it didnt work.

    An example of my problem can be viewed here:
    http://www.middleearthcenter.com/lord-of-the-rings-conquest/screenshots/

    If you need any source-code please let me know :)

    Thanks in advance,
    Freek

  2. Freekkie
    Member
    Posted 4 years ago #

    *bump* anyone help, please?

  3. Michael Fields
    Theme Wrangler
    Posted 4 years ago #

    Freekie,

    Have you modified the gallery shortcode? When I view the source, I see: <style type=\'text/css\'> on line 143. The backslashes are confusing the browser. Please change to: <style type="text/css">.

    This worked in Firefox.

  4. Freekkie
    Member
    Posted 4 years ago #

    Hmm, strange

    I also see the issue in my HTML code, but when I look in the media.php file it has the correct <style type='text/css'> I tried replacing the 's with the "s but that just broke the code.

    Something is adding the slashes somewhere in between. Any ideas?

    Edit: Figured it out! Apparently the contact form plugin I installed recently messed with the code. Thanks for the help :)

Topic Closed

This topic has been closed to new replies.

About this Topic