How can I align the FAQ section on the Flex theme to make the text appear centered. It only shows as left aligned. Is there a simple code I can add to the custom CSS section of the theme to make the FAQ section centered?
Hi @WeatherBeard ,
Can you kindly share your store link with us? We will check it and suggest you a solution if possible.
I don’t have the section published. I was just wanting to know if there was a custom CSS code I can add to the theme editor section to make the FAQ section text centered when I use that section.
Hi @WeatherBeard . Can you please share your store URL?
Flex theme is not available in shopify theme store so we couldn’t install and check it.
You will need to apply the following code to the container/parent element that holds each FAQ item.
.YOUR_CONTAINER_CLASS {
display: flex;
justify-content: center;
}
Okay, so this information has to go elsewhere and there’s nothing you can place within the Custom CSS section of the theme itself when you have it open in editor mode?
Or, how can I at least center the words “Frequently Asked Questions” which is the title of the page?
that’s really the main thing I am looking for
You will need to apply the above css in the HTML element or CSS class of that element that you want to align center. We don’t have access to your code that’s why we can’t tell you the exact name of the HTML element or css class.
