• Resolved jaytoddimages

    (@jaytoddimages)


    I need someone who knows their stuff. I am trying to center the photo gallery on my page and haven’t been able to figure it out for weeks. I really would like to get my site up asap but I do not want it to look amateur with my stuff all off center. Could anyone help a brother out?

    https://www.jaytoddphotographer.com/portfolio/children/

    I am also confused where I should change things? in the custom css?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Generally, you will need to get help from the theme vendor –as commercial themes are not supported here. That said, I looked at your site and it looks like all you need to do is change this CSS — adding the “auto” to the margins:

    .scrollgallery {
        margin: 0 auto;
        padding: 0;
    }

    If your themes has custom CSS, add the above there. If that does not work, find that style code ins the scrollGallery.css file — line 16 and add it there.

    Thread Starter jaytoddimages

    (@jaytoddimages)

    Thanks for the advice. How do you count the lines? I know that is probably a really stupid question. I try changing it in the custom css but it doesn’t work. I will have to change it in the scrollgallery.css file but I don’t want to change the wrong line.

    If you have custom css, that’s actually a better place to make changes — as they won’t be erased when the theme is updated. So try copying the above code into the the custom CSS — is that what you already tried?

    Try clearing your browse cache (and any other cache plug-ins you may have).

    If it still does not work, add the !important like this:

    .scrollgallery {
        margin: 0 auto !important;
        padding: 0;
    }

    Thread Starter jaytoddimages

    (@jaytoddimages)

    It worked! Thanks so much. I had a bunch of other crap in there that I erased and then I just copy and pasted and it worked beautifully! I totally appreciate the help!

    No problem & you’re welcome – glad it worked! With CSS, you never quite know as it can be kinda fussy :).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Please Help Center Next Gen Photo Gallery’ is closed to new replies.