Call to Action - text-align

Hello,

i tried to make the text of the call-to-action widget justify.
I added in the style.css:

#secondary .call-to-action .action-text {
    text-align: justfy;
}

But it’s not work. The text is always center.
I tried also in the Attributes - but no Change.

Can you help me?

Regards Michi

Hello Michi,

Can you please provide a link to your website in order to let me inspect it?

Kind Regards, Roman.

Hello Roman,

thanks for your anser.
The link to my Website is http://www.amendagmbh.de/karriere/

There are 4 Points (Fahrer, Büro, Werktatt, Ausbildung) … only this text should be in justify align.
At our start page are also two Call-to-Action Buttons, These must be the same.

I tried several Options with widget classes and css styles, but did not work.
It works with the Change of .roll-promobox in the style.css (Center to justify). However is the start page no longer correct (Buttons is no longer centered).

Thanks in advance.

Michi, please try to use the following CSS code.

You can add CSS code in DashboardAppearanceCustomizeAdditional CSS (WordPress 4.7 and up). Also you can add CSS code directly to style.css file of your child theme.

div#pg-21-2 div.widget_sydney_action div.promo-content {
    text-align: justify;
}

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

Thank you very much. Now it works :slight_smile: i added the CSS Code in the style.css file.

Have a nice Weekend.

Michi

You are welcome Michi!

Have a nice weekend as well :slight_smile:

Kind Regards, Roman.