The Big Spring Sale! Up to 50% off!

how to centre the text in the accordian tab

munglani
5 Posts
munglani posted this 03 January 2024
Ask a Question

The title of each accordian tab is left justified and although i click the centre alignment in accordian settings it has no response. grateful for your advice

The title of each accordian tab is left justified and although i click the centre alignment in accordian settings it has no response. grateful for your advice
Vote to pay developers attention to this features or issue.
5 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 08 January 2024

Hi Roopesh,

You have copied the code without the come before the class name, that's why it is not working. Try this one and make sure you copy the whole code part:

.u-accordion-link span.u-accordion-link-text {
    text-align: center!important;
    margin-left: auto;
    margin-right: auto;
}

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Roopesh, You have copied the code without the come before the class name, that's why it is not working. Try this one and make sure you copy the whole code part: .u-accordion-link span.u-accordion-link-text { text-align: center!important; margin-left: auto; margin-right: auto; } ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
munglani
5 Posts
munglani posted this 08 January 2024

ive have done this and published site on https:medicolegalpain.com. but the CSS has had no effect

ive have done this and published site on https:medicolegalpain.com. but the CSS has had no effect
Support Team
Support Team posted this 08 January 2024

Hi Roopesh,

Unfortunately there is no such option to align the headers of the accordion. You can add the following code into the Site Settings >> CSS tab:

.u-accordion-link span {
    text-align: center!important;
    margin-left: auto;
    margin-right: auto;
}

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Roopesh, Unfortunately there is no such option to align the headers of the accordion. You can add the following code into the Site Settings >> CSS tab: .u-accordion-link span { text-align: center!important; margin-left: auto; margin-right: auto; } ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
munglani
5 Posts
munglani posted this 05 January 2024

see medicolegalpain.com. hompage. the text on the accordion titles

Screenshot-2024-01-05-at-13.42.43.png
is left justfied. I would like i centre but the nice page programme doe s not seem to allow it or i am missing something

see medicolegalpain.com. hompage. the text on the accordion titles!Screenshot-2024-01-05-at-13.42.43.png! is left justfied. I would like i centre but the nice page programme doe s not seem to allow it or i am missing something
Support Team
Support Team posted this 04 January 2024

Hello Roopesh,

Thanks for contacting us!

For a better understanding, please attach screenshots or a short video demonstrating your issue. Show us the whole process step-by-step.
Thank you.

...................................................
Sincerely,
George.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Roopesh, Thanks for contacting us! For a better understanding, please attach screenshots or a short video demonstrating your issue. Show us the whole process step-by-step. Thank you. ................................................... Sincerely, George. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments