-
AuthorPosts
-
rangga san Friend
rangga san
- Join date:
- February 2017
- Posts:
- 52
- Downloads:
- 454
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
June 19, 2017 at 4:58 am #1042652When I put something in Module Class Suffix in the backend, Why did it create new div class?
What I want to achieve is faqbookpro_mls is placed in
css<div class=”section-wrap t3-content-mast-top “>
so it will look like this
css<div class=”section-wrap t3-content-mast-top faqbookpro_mls“>
I get expected result if I make an override in content-mast-top.php but I better find another approach instead make an override. Do you have any suggestion?
- This topic was modified 7 years, 5 months ago by rangga san.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 19, 2017 at 5:26 am #1042659Hi
The module suffix always added in the module divs that showing in the screenshot you shared.While t3 section is the parent container of the module position, not a specific file.
If you want to add it in the t3 section div you have to add the class in the php files as u shared in the first post.
Also, add a single blank space before starting the module suffix to make it work.Regards
rangga san Friendrangga san
- Join date:
- February 2017
- Posts:
- 52
- Downloads:
- 454
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
June 19, 2017 at 6:03 am #1042663So, the only way to make it works is by make an override to the php file?
Is there any impact to other modules in same position?Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 19, 2017 at 6:59 am #1042674Yes
If you will apply it on parent container (module position) it apply for all.
Moduoe suffix is best way to apply class in Joomla. You should use the available option rather then customize PHP files.Regards
rangga san Friendrangga san
- Join date:
- February 2017
- Posts:
- 52
- Downloads:
- 454
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
June 19, 2017 at 7:44 am #1042684Well, the other existing module in same position seems fine. I think it’s not problem if I add module suffix in t3 section. Beside, the module I’d like to instal only works when I put the suffix in t3 section. Thanks
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 19, 2017 at 8:07 am #1042695You are welcome!
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by Pankaj Sharma 7 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum