Support » Plugin: Accordion Blocks » centre Accordion Blocks?

  • Resolved gsymon

    (@gsymon)


    I’m unable to centre Accordion Blocks, with a width <950 (approx)

    When I set Structure Settings to anywhere between ~950 & 2000/max Accordion Blocks actually sizes to ~950. *However* it does remain centred in the browser.

    If I set Structure Settings to 800 it is only centred when the window is resized beyond ~1200

    Is there anything I can do to fix this?

    (I actually want the 800 sizing)

    (I’m working on the site, so it may in a temporary state, hence the screen-recording to show the problem : https://share.gsymon.com/share/AccordionBlocks-position.mp4 )

    • This topic was modified 1 year, 1 month ago by gsymon.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author philbuchanan

    (@philbuchanan)

    I think you have posted to the wrong accordion plugin’s support page. The accordion depicted in your screen recording is not from this plugin.

    Thread Starter gsymon

    (@gsymon)

    Arrghhh. So sorry Phil. I’ve been going round in circles and have managed (and I love this old saying) ‘to get my knickers in a twist’.

    So, your accordion does NOT have the centring/page width problem. 😊

    OTOH,

    When I suddenly thought I’d fixed the centred title in my previous post/question, that was the start of my knicker twisting. I’d been trying many things out and had switched plugins.

    So…

    Can you tell me how I could centre the ‘title’ text?

    and also like to remove the plus sign if possible? (+)

    Plugin Author philbuchanan

    (@philbuchanan)

    Assuming you are using this plugin, you’ll need to add some custom CSS (either via a child theme or the Customizer in WP Admin > Appearance > Customize > Additional CSS):

    .c-accordion__title {
        /* Centre the title text */
        text-align: center;
    }
    .c-accordion__title:after {
        /* Remove the "+" sign */
        display: none;
    }
    Thread Starter gsymon

    (@gsymon)

    Excellent!

    Thank you Phil and apologies for all the confusion. I’m not usually this chaotic.

    This fixed my issue too! Thanks a million Phil 🙂

    @philbuchanan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘centre Accordion Blocks?’ is closed to new replies.