Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1476470

    Hi there Im trying to add a line of 5 stars to the testimonials but they wont centre align. How can I do this?

    #1476471

    like this: https://kriesi.at/themes/enfold-2017/#best-rated
    but you know how to insert those icons – the only problem is to get them centered – allthough you have tried using the text-align feature of the editor?

    #1476472

    Yes thats what Im trying to achieve. Yes I tried to centre them in the text align area but that didnt work and if I centre align the icons when adding them they stack in a single vertical row

    #1476473

    if you tried it then the DOM will have there a p-tag with an inline text-align: center!
    so we can use this as a selector:

    .avia-testimonial p[style*="center"] {
      margin-top: 0;
      display: inline-block;
    }

    see : https://webers-testseite.de/testimonial-styling/
    PS: the css code there is only for the other styling of those testimonials

    #1476474

    Yes that worked!! thank you so much :-)

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