-
AuthorPosts
-
Daniel Michaels Friend
Daniel Michaels
- Join date:
- September 2014
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
April 25, 2014 at 5:13 pm #197082Decor sets itself apart by its custom use of style, particularly as applied to article display. The article title is automatically separated from the article and the article itself is inside of a wrapper with preset margins.
Unfortunately, this styling does not translate well to third party components (which make Joomla special). For example, I am using form2content CCK and when I add a menu item to my form2content form, the style for the form is inherited from the default Decor override, which does not pick up the title of the menu or the margins. See attached images for an example.
Am I going to need to create a custom override for every component I install?
Am I missing a setting to make the style more generic for 3rd party components?I’ve used form2content on at least 4 other templates (other providers) and I’ve never had to create an override. I hope I’m missing something obvious.
Thanks.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
April 26, 2014 at 3:25 am #532486can you please post your site Url and some user details in PM, so we can login to your site and provide a css fix for it.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
April 26, 2014 at 4:34 pm #532562Add this code to templates/ja_decor/css/custom.css
.f2c-article{
padding:20px;
}Daniel Michaels FriendDaniel Michaels
- Join date:
- September 2014
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
April 26, 2014 at 4:52 pm #532567Yes, that fixed the padding issue.
Any ideas on how to pick up the actual name of the page? It currently says JA Decor as the name of the page.
Thanks for you help.chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
April 28, 2014 at 1:47 am #532629Actually the JA Decor Text is from a Module in Position: masthead. so please filter out the Modules in the Module Manager with respective to the Position: masthead and check the Modules and change the Name Accordingly.
Note: Also this will not change According to the Pages. we need to add Module to each page.
Daniel Michaels FriendDaniel Michaels
- Join date:
- September 2014
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
April 28, 2014 at 2:04 am #532633Perfect. Much easier than messing with an override. Thanks for the help.
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by Daniel Michaels 10 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Problem with third party component and template
Viewing 6 posts - 1 through 6 (of 6 total)