• Resolved ColletteCM

    (@collettecm)


    I am having an issue with my galleries, as well as a question about something I want to tweak. If anyone can help me it will be greatly appreciated.

    Issue is that I have no broken links or image files that look like there is something wrong with the upload. They appear fine in my media, and in my gallery when I am logged into WP. However, when I am viewing my site I can see the thumbnails for every picture but only half of them show up when clicked. The others say “we can not find what you are looking for”. Any reason why certain images wouldn’t be loading if they don’t appear to have any obvious issues??

    What I want to tweak is the spacing around the thumbnails. There is spacing horizontally but not vertically, so the top and bottom of each row touch. I have tried putting various hard coding into the .css file that doesn’t seem to be working. What is frustrating is that it is the exact same coding I added for another website and it worked just fine, so is there some block with these theme??

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter ColletteCM

    (@collettecm)

    hm yeah I do see that now. That was not put in by me. So that must be originally in the theme from the creator. Which would explain why I can’t edit it since he put the important bc then it overrules mine, correct?

    Thread Starter ColletteCM

    (@collettecm)

    ugh why would someone make that uneditable?? very annoying. I see here where I want the change to be:

    }

    .entry-content .gallery .gallery-item {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    }

    I want a margin! So can I just delete that !imprtant; or change the number from 0 to 25px?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If you’re trying to override !important styles, you need to use the exact or more specific selectors and also use !important.
    E.g to override that margin: 0 !important style, use this:

    .entry-content .gallery .gallery-item {
     margin-bottom: 10px !important;
     margin-top: 10px !important;
    }

    Edit: I’m going to sleep.

    Thread Starter ColletteCM

    (@collettecm)

    THANK YOU!!!!!!!!!!!!!!!!!!!!!! SUCCESS ??

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Gallery issues’ is closed to new replies.