-
AuthorPosts
-
jm1100 Friend
jm1100
- Join date:
- July 2015
- Posts:
- 33
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 3 times in 1 posts
July 16, 2015 at 11:46 am #208869Hi,
I guess this a noob question, but this is what I am…
So, I need to add an option in the module setting to justify the text. There is already this kind of options, like left, center and right but not the “Justify” one.
For exemple in the hero / style-3 module.Could you explain how to do it step by step please ? This could be usefull for other kind of customization of php or css files.
Many thanks
JM
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 17, 2015 at 2:41 am #577735Hi JM,
Could you illustrate the modification you expect via screenshot? I will help you.
jm1100 Friendjm1100
- Join date:
- July 2015
- Posts:
- 33
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 3 times in 1 posts
July 17, 2015 at 9:41 am #577804Sure.
Here is the front end :
Here is the admin panel I’d like :
I have several uses of this module, that’s why I want to have the option available, but not to force it in every case.
Regards,
JM
jm1100 Friendjm1100
- Join date:
- July 2015
- Posts:
- 33
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 3 times in 1 posts
July 17, 2015 at 9:41 am #644098Sure.
Here is the front end :
Here is the admin panel I’d like :
I have several uses of this module, that’s why I want to have the option available, but not to force it in every case.
Regards,
JM
jm1100 Friendjm1100
- Join date:
- July 2015
- Posts:
- 33
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 3 times in 1 posts
July 17, 2015 at 9:41 am #742733Sure.
Here is the front end :
Here is the admin panel I’d like :
I have several uses of this module, that’s why I want to have the option available, but not to force it in every case.
Regards,
JM
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 20, 2015 at 3:12 am #577911Hi JM,
As I can see that you’re using JA ACM – Hero style 3, so you can open this file: root/templates/uber/acm/hero/tmpl/style-3.xml
<field name="hero-text-align" type="list" default="text-left"
global="1"
label="HERO_TEXT_ALIGN_LABEL"
description="HERO_TEXT_ALIGN_DESC">
<option value="text-left">JGLOBAL_LEFT</option>
<option value="text-center">JGLOBAL_CENTER</option>
<option value="text-right">JGLOBAL_RIGHT</option>
<option value="text-justify">JGLOBAL_JUSTIFY</option> <<< add this line
</field>
This will help to add a new option for justify alignment in back-end.
You then can select this option and see the changes in front-end.
1 user says Thank You to Saguaros for this useful post
jm1100 Friendjm1100
- Join date:
- July 2015
- Posts:
- 33
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 3 times in 1 posts
July 20, 2015 at 9:25 am #577995It works fine. thanks !
-
AuthorPosts
This topic contains 9 replies, has 2 voices, and was last updated by jm1100 9 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum