• Resolved Reppiks

    (@reppiks)


    Greetings WordPress fam. I am having a problem trying to center my galleries on this them. My code in the editor looks like this;

    <div style=”text-align: center;”>

    [gallery columns="4" link="file" ids="1,2,3,4,5,6"]

    </div>

    This has worked on websites I’ve designed before. I noticed when I look at the output code via “inspector” that the code isn’t blocked by any other CSS.
    Any ideas on why this would be happening?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Gary Bairead

    (@gary-barrett)

    Hi Reppiks,

    Can you post a url to a page or post on your site where this issue is visible?

    Thread Starter Reppiks

    (@reppiks)

    Hello,
    Given URL redirect to https://www.google.fr/

    Thread Starter Reppiks

    (@reppiks)

    Sorry about that Poonam, it should be working now. This is an older site I’m updating and forgot I had a country block on there. I use to get A LOT of spam and attacks from other countries.

    Thread Starter Reppiks

    (@reppiks)

    I realized I posted this for the wrong theme. The galleries are working fine under the 2017 theme. (I’m working on a few sites so I got it confused.) The theme I am having problems with is “Responsive”. They have a new update so I will try that first and if I am still having problems I will make a post under the correct theme.

    Thread Starter Reppiks

    (@reppiks)

    I have started another thread here: https://wordpress.org/support/topic/cant-center-galleries/

    I am linking this in case someone in the future comes here needing the same solution, they can see if any good answers come from the new thread that may help them.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Can’t Center Gallery’ is closed to new replies.