Hi,
Please go to Appearance > Customize > Section Hero > Hero Content Layout > Button #1, #2 to change the button text and link.
thanks so much , may i ask if i would like to add a button in the banner, how can i do ?
Hi,
Do you mean to add a button to the header cover on a single page?
no , in the big banner area, there is two blue buttons now, i would like to add another button in the banner
Hi,
The theme does not support adding more hero buttons, but I can show you how to add more buttons by overriding the hero template.
– Install and activate the child theme by following this documentation https://docs.famethemes.com/article/139-sample-child-theme
– Copy the folder “section-parts” and the file “section-hero.php” in the theme onepress folder to the child theme folder.
– Edit the file “section-hero.php” in the child theme folder, add this code to line 117 (under the second button), see my screenshot https://imgur.com/5kIvx1u
<a href="http://123.com" class="btn btn-theme-primary btn-lg">Third Button</a>
<a href="http://123.com" class="btn btn-theme-primary btn-lg">Fourth Button</a>
Let me know how it goes.