Center content

Hi,

hov can I center (verically & horizontally) my content on this start-site?

https://black-cross.eu/

Greetings
Coco

Hello Coco,

Thanks for asking. :slight_smile:

If you want to center align the elements then in Image element and under Customize > Setup > Element CSS use CSS display Flex property. Here is a sample CSS that can be used:

$el{display: flex; justify-content: center;}

To lean more about Display Flex property, please take a look at following resource:

https://www.w3schools.com/css/css3_flexbox.asp

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Thanks.

Prasant, my sunshine.

Thank you very much for your efforts and selfless help.
Since I don’t want to owe you anything, here’s a little help for you,
so that other users of the forum are spared from your “RTFM” answers.

And please… don’t help me anymore, because it gives me a real chance to get real help.

Best regards
Coco

Hello @CocoLores,

Changes that require custom CSS and are not currently in the theme options settings falls outside the scope of support we offer. However, to help you get started I shared an example CSS and to help you understand the intricacies I shared few resources. I didn’t had intension to flood you resources or check these links kind of response.

I am really sorry for any confusion here. Please accept my sincere apologies.

Thanks.

Thank You!

Coco

You are most welcome. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.