position of fa-images

More
1 year 9 months ago #73710 by commander912
Hello there,

in the Accordeon there is an option of adding fa-images. Unfortuatly for me, they are in first position of each row. So, when I have a row without an fa-image, my text is not aligned properly anymore. For me, it would be better, if the fa-image would be at last position (like shown in atachment).

I searched for a method to change it via override but I can't find the right file for that.

Could you please help me with that?

Thank You

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #73712 by ced1870
Replied by ced1870 on topic position of fa-images
Hi
you will need to add some custom css to manage that
[ocde].cktype:not([data-type="faq"]) .ui-accordion .ui-accordion-header {
display: flex;
align-items: baseline;
}

.cktype:not([data-type="faq"]) .ui-accordion .ui-accordion-header .iconck {
order: 1;
}[/code]

this will put the icon after the text
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #73713 by commander912
Replied by commander912 on topic position of fa-images
thanks for the fast answere, css is working :).

But let me ask another question: The fa-image is posted directly behind the last letter of the text. Is there a method to add a space automatically between the text and fa-image?

yours

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #73714 by ced1870
Replied by ced1870 on topic position of fa-images
Great
yes you can edit the icon styles and add a left margin

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.195 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 690 guests and one member online