-
AuthorPosts
-
April 6, 2012 at 2:13 am #175826
I need to customised the css for JA Community — e.g. change some colors, add a background image. What is the recommended way of dealing with overrides with this template so I don’t cripple the site from future updates?
Thanks,
Geoffpavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
April 6, 2012 at 5:15 am #447568Hi
The only way to obtain what you need is to create your custom theme with your Css files and your images, then make a new profile and assign your theme at this new profile
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
April 6, 2012 at 5:39 pm #447618Just to add to the advice/recommendation pavit provided above – which is correct . . .
Here are a number of resources you can read and review concerning layout overrides . . .http://docs.joomla.org/Layout_Overrides_in_Joomla_1.6
http://writenowdesign.com/joomla-user-guide/146-using-joomlas-template-and-layout-override
http://www.slideshare.net/…/template-layout-overrides-a-beginners-guide
May 3, 2012 at 11:45 pm #451324How do I change the layout of the “intro text” so that the image sits above the text, rather than on the left? In fact, I want to use this in both ways – sometimes above, sometimes to the left. Can I set a class to handle this differently? I’ll also need to be able to resize the image accordingly.
Thanks,
GeoffSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 7, 2012 at 10:07 am #451823Hi geoffr,
Could you send me url of site you’re working on? and a snapshot of how you want it display, it’s easier to help.
May 7, 2012 at 11:53 pm #451923Sure, here is a mockup image showing how I’d like to display the images at the top of the intro text in the Category Blog layout. The Leading article is good, it’s the ones within the circle I’d like this way.
BTW, I have created a new theme.
Thanks,
Geoff
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 8, 2012 at 1:28 am #451928Hi,
So you should override the article in com_content for template, it is located in:
templatesyour_default_template_namehtmlcom_contentarticledefault.php
If in this template folder, this file does not exist, you can copy from component/com_content folder
Within default.php file,you find the code path that display the images and move it to above position of code display into text.AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 4 voices, and was last updated by Saguaros 12 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
JA Community 2.5 – Overrides
Viewing 7 posts - 1 through 7 (of 7 total)