CMS Development

ChrisBroeders
Colaborador(a)

Modules centering with 4 columns but not with 3

Hi,

So I have a strange situation going on. On our home page, I created a module with 4 columns for images and text and for some reason the objects are not centering. However, if I take the same module and delete one of the columns - it does center (see below). 

 

Any ideas of what is happening?

 

Thanks,

Chris

 

Preview 1.PNG

 

Preview 2.PNG

0 Avaliação positiva
2 Respostas 2
DanielSanchez
Conselheiro(a) de destaque | Parceiro Platinum
Conselheiro(a) de destaque | Parceiro Platinum

Modules centering with 4 columns but not with 3

Hi @ChrisBroeders ,

 

You have a link to we see the code?

 

A very good tip I give you is the HubSpot CMS For Developers course, it teaches you how to create different modules, easier to edit, insert and remove items, copy to other templates and other better things, if you are interested. 🙂

 

Look one example:

module.PNG

 

Did this post help solve your problem? If so, please mark it as a solution.

Best regards! 🙂

ChrisBroeders
Colaborador(a)

Modules centering with 4 columns but not with 3

Hi @DanielSanchez ,

 

Thanks for the quick reply. 

I realised that some of the changes I made to the navigation bar somehow effected the page layout. 

 

Reverted back to an older version of the CSS so it is all fixed now. Thanks for your time though!

 

Chris