WordPress.org

Ready to get started?Download WordPress

Forums

Need help editing CSS in WP for Gallery (7 posts)

  1. godrox
    Member
    Posted 8 years ago #

    I've successfully integrated Gallery2 into my WordPress blog, but am having trouble making the gallery's background look right. I need the gallery's background to be white, but right now it's transparent to WP's background image. I assume I need to change/add the table background color in a CSS file somewhere, but which one? I've tried editing both the CSS file for Gallery's theme and my WP's CSS theme sheet, but nothing's worked so far. Anyone have any input on this?

    Here's a screenshot of my gallery in WP to see what I mean:
    http://gallery.menalto.com/files/blog.jpg

    I'm using Falling Dreams WP template from http://teo.esuper.ro/category/download/

    Thanks for your time guys! I appreciate it.

  2. Sam_a
    Member
    Posted 8 years ago #

    Hard to tell... can you give a link?

  3. godrox
    Member
    Posted 8 years ago #

  4. Sam_a
    Member
    Posted 8 years ago #

    In themes/falling_dreams/style.css

    change body, td {

    to body {

  5. godrox
    Member
    Posted 8 years ago #

    Thanks for the help Sam_a. It didn't really work, though. Now the background is just grey, as you can see now. I tried changing the background color in the same BODY heading, but that didn't work either. Suggestions?

    Thanks again for helping with this!

  6. scaturan
    Member
    Posted 8 years ago #

    remove the <table> that's encapsulating your embedded g2 code. don't use tables for layouts if you don't need to, instead adjust the width of wp-gallery2.php setting to get the alignment correctly.

    login to WordPress > Options > Gallery 2 > Style Options

    find something like this:

    <style type="text/css">.g2_column {margin: 0px 1px 0px 12px;width: 736px}</style><div id="content" class="g2_column">

    reduce 736px to a smaller setting and reload wp-gallery2.php on a different browser window to view the changes.

    for future reference, also try http://wpg2.ozgreg.com/forums/ and http://gallery.menalto.com/node/27880 for further assistance.

  7. godrox
    Member
    Posted 8 years ago #

    Thanks! I found my answer here:

    http://wpg2.ozgreg.com/forums/viewtopic.php?t=1452

Topic Closed

This topic has been closed to new replies.

About this Topic