How do I Centre A Module Title? - Question | JoomShaper

How do I Centre A Module Title?

R

Richard

SP Page Builder 1 year 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

0
13 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #148353

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #148335

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; }

0
R
Richard
Accepted Answer
1 year ago #148336

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #148344

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

0
R
Richard
Accepted Answer
1 year ago #148346

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #148348

OK, done.

0
R
Richard
Accepted Answer
1 year ago #148349

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #148350

my mistake, second.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #148351

Done, it was probably cache thing.

0
R
Richard
Accepted Answer
1 year ago #148352

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

0
R
Richard
Accepted Answer
1 year ago #148354

Agreed many thanks Paul

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #148355

for 2nd module - also set, the last block inside custom.css decide if you want to keep it. But it was beyond support, not our module.

0
R
Richard
Accepted Answer
1 year ago #148356

That is perfect just what i was after thanks

0