-
AuthorPosts
-
September 19, 2013 at 11:29 am #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
September 19, 2013 at 3:16 pm #163608Hey 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,
YigitSeptember 19, 2013 at 3:21 pm #163612Thanks for the reply but unfortunately it is still pulled to the left, I also added !important to it but still no change.
Andrew
September 19, 2013 at 3:23 pm #163616Hi!
Can you post a screenshot? You can upload screenshots here http://imgur.com/ and post links here
Cheers!
YigitSeptember 19, 2013 at 3:30 pm #163621September 19, 2013 at 4:16 pm #163643September 19, 2013 at 5:11 pm #163680Sorry 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
September 19, 2013 at 7:56 pm #163733Hi!
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,
YigitSeptember 19, 2013 at 8:34 pm #163747Thanks,
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
September 19, 2013 at 8:37 pm #163748Hello!
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 8 years, 7 months ago by Yigit.
September 19, 2013 at 8:42 pm #163750Thanks but I am working on local until it is live.
Have you tested it yourself with the latest version?
Andrew
September 19, 2013 at 11:32 pm #163782Hey!
Yes, with the same code content section in testimonial shortcode looks like this on my end http://i.imgur.com/iidGiUF.jpg
Best regards,
YigitSeptember 19, 2013 at 11:59 pm #163794Thanks Yigit,
I will give it a go on a blank page in the morning and see what happens.
Thanks again for your help.
Andrew
September 20, 2013 at 12:02 am #163797September 20, 2013 at 10:47 am #163996Hello,
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
September 21, 2013 at 12:28 pm #164409Hi!
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 8 years, 7 months ago by Yigit.
September 21, 2013 at 1:13 pm #164415Hello 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
September 21, 2013 at 1:16 pm #164417 -
AuthorPosts
- The topic ‘Testimonials alignment’ is closed to new replies.