• hi, i am using a 2-column gallery in a post and the following gallery code appears in the post on the home page: #gallery-1 { margin: auto; } #gallery-1 .gallery-item { float: left; margin-top: 10px; text-align: center; width: 50%; } #gallery-1 img { border: 2px solid #cfcfcf; } #gallery-1 .gallery-caption { margin-left: 0; }

    my site is https://www.reewrite.com

    i have spent a lot of time googling the issue and perusing the forums and i have not found anything that will eliminate the visibility of this code.

    i would be grateful for any help. thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • I think you need to wrap the CSS in style tags:

    <style type="text/css" >
    <!--
    /* styles go here */
    //-->
    </style>
    Thread Starter reedu

    (@reedu)

    i am sorry but could you be more specific? is this in the style sheet under editor? if so, i can’t even locate the above code.

    It looks like the code which displays the ‘Featured’ post on the home page is stripping out the style tags. The style code is coming from the gallery styles.

    Go to your home page with the css showing, look at the page source code and search for the word gallery-1. Notice that no < style> tag is there.

    Now, do the same by looking here. You should see the style tags around the css.

    Something in the theme’s coding is stripping out the style (I think).

    Are you using a freely available theme?

    I have “title=””class=”thickbox”rel=”set_2”>appearing above my gallery images . how do i get rid of this ? my website is https://www.cleverdecks.com
    please help
    Natski

    Thread Starter reedu

    (@reedu)

    thanks vtxyzzy for trying to help but i wound up just getting rid of the gallery on this post. was more work than it was worth!

    Thread Starter reedu

    (@reedu)

    thanks vtxyzzy for trying to help but i wound up just getting rid of the gallery on this post. was more work than it was worth!!

    Sorry you couldn’t make it work for you. Anyway, please use the dropdown at top right to mark this topic ‘Resolved’.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: NextGEN Gallery] Gallery code appears in my post’ is closed to new replies.