Text offset to left in Testimonials section (Barber Niche)

3 replies · opened Aug 24, 2023

TtscustomsuitsAug 24, 2023

Good day. I was having an issue with centering the background image within the Testimonials section of my website. I fixed it that but now the overlay text is offset to the left on both mobile and desktop displays. I would like it to be centered on all display types. But I can't seem to find a way to edit the HTML or CSS to make it happen. Below are the CSS modifications I have made to the style.css file. The HTML edits are viewable on my webpage source code. Can you help me center the text on all display sizes please? Thank you.

#testimonial {
display: flex;
justify-content: center;
align-items: center;
position: relative;
}

.image-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}

.image-container img {
max-width: 100%;
height: auto;
}

.heading-block.text-center {
text-align: center;
}

.heading-block.text-center h3.ls-2 {
margin: 0; /* Remove any default margins */
}

/* Center the text within the .slide elements */
.fslider.testimonial .slide {
text-align: center !important;
}

/* Center-align the h3 text within .slide elements */
.fslider.testimonial .slide h3 {
text-align: center !important;
}

/* Additional styles for other elements in the testimonial section */
.fslider.testimonial .rounded-circle {
display: block;
margin-left: auto;
margin-right: auto;
}

SSemicolon WebSTAFFAug 25, 2023

Hello,

There are Validation Errors on the Page: https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.newsite.tscustomsuits.com%2F which might be causing unexpected issues. Fix the errors related to Unclosed Tags and this should fix the issue automatically. If you still facing any further issues, please let us know and we will look into this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

TtscustomsuitsAug 26, 2023

Can you help me with errors 6-10 from the validator website? All of those errors are from code within Canvas. I will work on errors 1-5 since they are from a external HTML from my appointment booking tab application.

Thank you.

SSemicolon WebSTAFFAug 27, 2023

Hello,

We have just checked this out and the Validation Errors are due to Customizations as the Default Demos that comes with the Package do not have these errors: https://validator.w3.org/nu/?doc=https%3A%2F%2Fcanvastemplate.com%2Fdemo-barber.html . Additionally, the Unclosed HTML Tags errors are almost always due to Customizations, and since we do not provide Customization related Support according to the Item Support Policy: https://themeforest.net/page/item_support_policy and https://support.semicolonweb.com/support-policy/ . You will need to manually code this or Hire Us to help you out as it requires us to go through your Custom Codes and requires significant time.

Thanks for Understanding.

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard