Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #163507

    Hello,

    I have 2 testimonials in a grid layout in a color section. The testimonials are left aligned and I have been trying to get them center aligned but my efforts are not working, i am targeting the .avia-testimonial-wrapper.

    I have tried basic align:center, margins and padding but the grid just wont budge:-)

    I have also added a custom class for center alignment to the actual color section that the testomonials sit on but that didnt work either.

    Any advise would be appreciated.

    Thanks

    Andrew

    #163608

    Hey awilson3rd!

    Please add following code to Quick CSS in Enfold theme options under Styling

    .avia-testimonial-content { text-align: center; }

    It will center the testimonial content

    Best regards,
    Yigit

    #163612

    Thanks for the reply but unfortunately it is still pulled to the left, I also added !important to it but still no change.

    Andrew

    #163616

    Hi!

    Can you post a screenshot? You can upload screenshots here http://imgur.com/ and post links here

    Cheers!
    Yigit

    #163621

    Here you go:

    http://imgur.com/0p6Sn62

    Thanks for your help,

    Andrew

    #163643

    Hello!

    Can you post the link to your website as well?

    Cheers!
    Yigit

    #163680

    Sorry I can’t it’s not live yet.

    I have also tried removing all other custom css and just adding the css for the centering of the testimonials but still no joy,

    Thanks

    Andrew

    #163733

    Hi!

    First code i gave you should do it but please try adding !important to force it

    .avia-testimonial-content { text-align: center!important; }

    If that still does not work, post us a link when you go live

    Best regards,
    Yigit

    #163747

    Thanks,

    As advised above I have already tried adding important but to no avail. I need to get this working before going live as I need to
    demonstrate it first. If I cannot get it working I will have to redo the layout which is a shame because the testimonials look good.

    It seems that nothing responds to the class .avia-testimonial-content so I am left wondering if it is a problem with the code where
    this is concerned?

    Thanks again for trying.

    Andrew

    #163748

    Hello!

    If you are not working on local maybe you can create a temporary admin login and send me on so i can take a look?

    Cheers!
    Yigit

    • This reply was modified 7 years, 10 months ago by Yigit.
    #163750

    Thanks but I am working on local until it is live.

    Have you tested it yourself with the latest version?

    Andrew

    #163782

    Hey!

    Yes, with the same code content section in testimonial shortcode looks like this on my end http://i.imgur.com/iidGiUF.jpg

    Best regards,
    Yigit

    #163794

    Thanks Yigit,

    I will give it a go on a blank page in the morning and see what happens.

    Thanks again for your help.

    Andrew

    #163797

    Hello!

    Let us know

    Cheers!
    Yigit

    #163996

    Hello,

    Still doen’t work. I have removed all other custom css, deactivated all plugin and tried adding the testimonials to a blank page and still they are pulled to the left of the page.

    It is reading the custom css but ‘not’ the align. I have tested this by adding a custom class and setting the background of the block to red. It changes the background to red but will not center the element.

    So, it’s not me!:-) all other elements on the page read the enter align ok apart from the damn testimonials.

    Thanks

    Andrew

    #164409

    Hi!

    Please create a temporary admin login and send me on as soon as you launch your website. It is really hard to tell without seeing the website. And as you saw in the screenshot, code works fine on my end

    Cheers!
    Yigit

    • This reply was modified 7 years, 10 months ago by Yigit.
    #164415

    Hello Yigit,

    I am seeing more problems with the testimonials widget on tablet/mobile browsing so I think I will have to look at another way of displaying them, for instance on mobile the text is centered but the container isn’t which sort of looks a mess. I will get back to you if I decide to use them.

    Thanks again for trying.

    Andrew

    #164417

    Hello!

    You are welcome. I’m closing this thread for now. Feel free to open a new one if you decide to use them

    Cheers!
    Yigit

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘Testimonials alignment’ is closed to new replies.