How to center article title when using Joomla Article Integration full width - Forum | JoomShaper
Awaiting an answer SP Page Builder

How to center article title when using Joomla Article Integration full width

Asked by Marie-Claire 11 months ago Last activity 11 months ago

Hi
I am using joomla article integration and have set it to full width for my news articles. However the title, date and category are showing left aligned on the page with no margin. Can you help?
Thanks

4 replies

Paul Frankowski Senior Staff

Hi Marie,

Please use below Custom CSS (in Template Options > Custom Code > Custom CSS)

.view-article.layout-blog .article-details .article-header {text-align:center;padding:0 15px;}
.view-article.layout-blog .article-details .article-info {text-align: center;display: block;}
Paul Frankowski Senior Staff
11 months ago · edited

BTW

General Joomla tips:

  1. If site use only one language you don't need "/en/" in URL, if two or more, you can disable that for default language anyway - in Joomla Language plugin.
  2. Using Article Options > Integration tab (Joomla core!) disable ID numbers in Article aliases (Remove IDs from URLs: YES).
Marie-Claire Asked this

thats brilliant, many thanks for your help!

Paul Frankowski Senior Staff

Please mark topic as solved. One extra click, thx.

Marie-Claire Asked this

hi paul, yes i'll do that. i just noticed a problem now though. in a diff category i am hiding the title and publish date but it is now giving me a white gap where they were. Can you advise?
Thanks

Log in to reply.