How do i centre a module title? - Forum | JoomShaper
Solved SP Page Builder

How do i centre a module title?

Asked by Richard 2 years ago Last activity 2 years ago

This should be obvious and probably is but i cant find it or adjust with CSS, all my module titles are all aligned left and i want them to be centered.

It is the 3 modules in the FOOTER area that i need to centre: https://prnt.sc/v2ONmj4p0LXF

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff

1 and 3 - done. For 2 does it make sense?

12 more replies

Paul Frankowski Senior Staff

Hi Richard,

By default Joomla Modules do not have option to center titles, only Titles in Addons can be centered from settings, that's why. Custom CSS method:

#sp-footer .sp-module .sp-module-title { text-align: center; }

OR

#sp-bottom .sp-module .sp-module-title { text-align: center; }

Richard Asked this

thanks fo the fast reply, My Mistake then these are Addon Titles that are aligned left, it is these i want to centre and i cant see how to do that, the CSS doesnt affect them

Paul Frankowski Senior Staff
2 years ago · edited

check in addon settings, my code was ONLY for core MODULES, not if they are inside addons.

Richard Asked this

This is so frustrating, im sorry i cant find it: https://support.gingerweb.co.uk/wbuBbKXx
It looks to me like it is set to the centre but it isnt displaying in the centre
i have added admin login in private so you can see for yourself.
This section is in a module called Footer
thanks

Paul Frankowski Senior Staff

OK, done.

Richard Asked this

Sorry Paul - what have you done?
the module titles are still aligned left

Paul Frankowski Senior Staff

my mistake, second.

Paul Frankowski Senior Staff

Done, it was probably cache thing.

Richard Asked this

Ah great progress thanks - sorry to be a pain but how do i center the module content too?!

Richard Asked this

Agreed many thanks Paul

Log in to reply.