How to edit Joomla article layout/style?

Howdy_McGee picture Howdy_McGee · Jan 9, 2012 · Viewed 10.1k times · Source

I'm trying to edit the default articles' HTML. Right now the titles are in h2s and I want to change them to h1s and get rid of the print options etc.

There has to be some where you can edit the HTML of default article templates. Anybody know where?

Answer

jogesh_pi picture jogesh_pi · Jan 9, 2012

as i know when you are posting some article on joomla you have an option to post the data as HTML and i don't think so that you have to change some php codes.

on the other hand when you are Adding an article that time follow these steps:

  1. Click on the Parameter(Advanced) on the right side of the article
  2. Select No of the Show Title option
  3. Select Hide all between Article Rating to Email Icon

after all these setting you just only get your own HTML codes that you posted on that article as well the <h1> tag

EDIT: Or if you want to completely change the Article layout then
find the location joomla/components/com_content/views/article/tmpl/default.php

The above default.php file keeps all the layout of the article section and all the data that data that will keep on the RightColumn.