WordPress v4.9.5
Theme.co Pro v2.0.4
https://My-Link/test-may-27-2018/
Hello Support, I need to set up a Max Width on Headlines, but when I Setup “Width & Max Width” the headline get moved to the left. Please advise.
WordPress v4.9.5
Theme.co Pro v2.0.4
https://My-Link/test-may-27-2018/
Hello Support, I need to set up a Max Width on Headlines, but when I Setup “Width & Max Width” the headline get moved to the left. Please advise.
Thanks for writing in.
Please go to customize section of your headline and add this to element CSS option.
$el { margin: 0 auto; }
The alignment in your screenshot is for text alignment only, and it will only align with its container which has the max width. And adding that CSS will make the headline (container with max-width) align with its parent which the column.
Thanks!
Thanks,
But it did not work.
I need the headline to be centered, NO drifted to the left.
I also need the headline with a Max-Width.
Adding a Max-Width move the headline to the left.
Hello There,
When you set up a width and a maximum width of a container and also would like to have the container position at the center, please set up your width, maximum width and lastly, the left and right margins should be set to auto. Setting it to zero will always positioned the container to the left side.
Hope this helps.
Perfect, this works.
Do I need the code provided above?
$el {
margin: 0 auto;
}
Hey There,
No you do not need the code. Please find the margin options in the element settings.
Hope this make sense.
Makes total sense, Thanks.
You are most welcome!
Hello, thanks for al the hellp.
Can you please delete this screenshot as it will show up in search results when searching for our company, as it has happened before. Thanks in advance.
Hi There,
Thanks, I have deleted the screenshot.
Cheer!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.