By Michel777 on Thursday, 21 February 2019
Posted in General
Likes 0
Views 405
Votes 0
Hi,

how to get page heading centered and with H3 / H2 ... ?

See attached screenshots.

Thanks,

Michel
Hey there,

You can add the following CSS code into Backend > EasyBlog > Themes > Custom CSS:

body #eb .eb-brand-name {
text-align:center;
}


As for to make the page heading to <h2>/<h3>, you can copy the default.php file from JoomlaFolder/components/com_easyblog/themes/wireframe/toolbar/default.php and paste it to template override location which is at JoomlaFolder/templates/yourCurrentTemplate/html/com_easyblog/toolbar/default.php.

Then, look for the following PHP code from the default.php file which is from the template override location:

<?php if ($view != 'entry' && !empty($title)) { ?>
<h1 class="eb-brand-name reset-heading"><?php echo JText::_($title);?></h1>
<?php } ?>


change the 'h1' to the heading that you want.

Can you have a try and see how it goes?
·
Thursday, 21 February 2019 12:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Perfect, thanks !
·
Thursday, 21 February 2019 14:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Thursday, 21 February 2019 15:27
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post