WebDev

SMF Modifications => EhPortal => EhPortal Support => Topic started by: deansmar on April 05, 2025, 08:22:17 AM

Title: Block Title Center
Post by: deansmar on April 05, 2025, 08:22:17 AM
i have searched high and low..  even looked for an explaination document..  txt. in the ehportal.zip file..
but i didnt find what i was looking for..

in the block editor, i would like to center the Block Title.. (name of block) that appears in the top of the block..

i would imagine it can be entered in the Style Options:
under, Custom Title Class: or Custom Title Style:

for example #center..?

could anyone point me in the right direction please..
Title: Re: Block Title Center
Post by: Chen Zhen on April 05, 2025, 04:33:13 PM

You can use a CSS class or inline style to adjust the positioning of block titles.

Try:

Custom Title Class: centertext

-- or --

Custom Title Style: text-align: center;
Title: Re: Block Title Center
Post by: deansmar on April 06, 2025, 10:04:07 AM
Custom Title Class: centertext

Worked for me... thank you.. 8)
EhPortal 1.40.0 © 2025, WebDev