[Support request] Centre soliloquy slider

Home Forums Support [Support request] Centre soliloquy slider

Home Forums Support Centre soliloquy slider

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #912964
    Richard

    Can anyone tell me how I get the soliloquy slider to be centered?

    Using Gutenberg. At the moment I have a short code in a paragraph block set on centered but it is always comes out as left justified.

    Thanks

    #913031
    David
    Staff
    Customer Support

    Hi there,

    you could try this CSS:

    .soliloquy-container {
        margin-left: auto !important; 
        margin-right: auto !important;
    }

    As another note there is a Short Code block that you should use for adding shortcodes 🙂

    #913173
    Richard

    Hi David. Thank you. I am very new to all this. Could you explain exactly how/where I add this? Thanks.

    #913348
    David
    Staff
    Customer Support

    This article explains the methods for adding CSS:

    https://docs.generatepress.com/article/adding-css/

    #913364
    Richard

    Thank you. I have installed Simple CSS and added the code you suggested but it doesn’t seem to make any difference.

    #913393
    David
    Staff
    Customer Support

    Odd i can’t see the CSS on the page. Just to confirm you added the CSS via Customizer > Simple CSS?

    #914078
    Richard

    Hi.

    I have done Appearance/Simple CSS added this code:

    .soliloquy-container {
    margin-left: auto;
    margin-right: auto;
    }

    then pressed Save CSS

    When I go via Appearance/Customize/Simple CSS I see the code and it syas published.

    I hope that helps.

    #914159
    David
    Staff
    Customer Support

    Thats odd – not seeing the CSS there.
    Can you remove it from the Simple CSS and place it in the Customizer > Additional CSS.

    #914166
    Richard

    OK I have done that but it’s still the same?

    I only have soliloquy lite – is that relevant?

    #914177
    David
    Staff
    Customer Support

    I edited the CSS here give that a shot

    #914465
    Richard

    Success!

    And this works on all pages.

    Thank you David.

    #914468
    David
    Staff
    Customer Support

    You’re welcome

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.