-
AuthorPosts
-
hbic Friend
hbic
- Join date:
- June 2015
- Posts:
- 189
- Downloads:
- 15
- Uploads:
- 5
- Thanks:
- 61
- Thanked:
- 6 times in 1 posts
December 19, 2016 at 5:20 pm #995873I want to add custom button for the App Store and Google Play to a Hero Style 1.
I’m putting the graphic attached as the background and removing all text and the default buttons from the Hero. I want to play the tow attached badges or button right underneath the smartphone image. Is there a way to do this in the Hero?Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 20, 2016 at 12:27 am #995931Hi
I am not sure what exactly you want to customise, Could u provide me a mockup, it will help to me check your request.
Regardshbic Friendhbic
- Join date:
- June 2015
- Posts:
- 189
- Downloads:
- 15
- Uploads:
- 5
- Thanks:
- 61
- Thanked:
- 6 times in 1 posts
December 20, 2016 at 7:23 pm #996194Here is a mockup.
I want to put these badges/buttons on the hero rather than the stock Uber buttons to link to the respective stores.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 21, 2016 at 1:30 am #996228Hi
In for this, you can customise the uber hero acm file.
Here is path :/acm/hero/tmpl/style-1.php
You can add the image code directly near button codes and then apply custom classes on it.
Another option is added images in custom html module. Publish the module under the Hero module using same module position, I will help you with some CSS tweaks to overlap images on Hero module.1 user says Thank You to Pankaj Sharma for this useful post
hbic Friendhbic
- Join date:
- June 2015
- Posts:
- 189
- Downloads:
- 15
- Uploads:
- 5
- Thanks:
- 61
- Thanked:
- 6 times in 1 posts
December 21, 2016 at 6:10 pm #996470It seems that the second option, adding a custom HTML with the linked images in them, would not be responsive, where the first option would remain responsive. Am I close to correct?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 22, 2016 at 1:17 am #996487Hi
It depends usually in Mobile the space is not enough to show slideshow and button. I suggest you to hide it from small view. Beside you can choose any option that suits better.hbic Friendhbic
- Join date:
- June 2015
- Posts:
- 189
- Downloads:
- 15
- Uploads:
- 5
- Thanks:
- 61
- Thanked:
- 6 times in 1 posts
December 26, 2016 at 4:04 pm #997443Can you show me example code for the option of adding the :/acm/hero/tmpl/style-1.php?
I want to use the standard Google Play and App Store badges instead of the buttons that come with the template.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 26, 2016 at 11:32 pm #997485Hi
Open
Here is path :/acm/hero/tmpl/style-1.php
Add your image code after line 30 .example :
<div> <img src="https://www.joomlart.com/content/themes/dw-unite/assets/img/joomlart-dark.png"> </div>
You can apply custom class on div to give styles for your images.
RegardsAuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 7 replies, has 2 voices, and was last updated by Pankaj Sharma 7 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Custom Buttons
Viewing 8 posts - 1 through 8 (of 8 total)