Jump to content
Sign in to follow this  
joeltwalters

More links in Hero Unit

Recommended Posts

joeltwalters    0
joeltwalters

Is there any way to add multiple links within a Hero Unit? Could be more action buttons, a text link or an image link.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

The Hero section only supports one action button, if you would like more you will need to add this yourself. To do this, you would need to create a child of the Hero section then open the heros sections.php file and customise the code.

To create a child section see the following topic, which has instructions. http://www.pagelines.com/forum/topic/25834-is-it-possible-to-have-the-quickslider-in-the-header/?p=150565


Please bear in mind that this is considered user created code and should you choose to create a child section, we will be unable to provide support.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

No problem, happy to help!


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • wesleymusgrove
      By wesleymusgrove
      I'm having some issues getting 2 different templates to save their own unique and different sections, respectively.  I have one template for the "Home Page" and another template for an "About Us" page.  Both templates have the same fixed navbar, nothing in the "Header Global Scope Region", various sections and widgets in the "Template Local Scope Region", and share a footer menu in the "Footer Global Scope Region".
       
      I have added a full-width section between the "Header Global Scope Region" and the "Template Local Scope Region" to the home page template in order to hold a Hero Unit.  I needed to put this hero unit inside a full-width section so it could have a full-width background color.  If I put this hero unit inside the "Template Local Scope Region", a full-width background color is not possible on the hero unit's row alone, as it will also give a full-width background color to the entire body of the "Template Local Scope Region" thereby affecting the other widgets and columns on the home page.  
       
      I do not want this hero unit or the full-width section it is contained within to appear on the "About Us" template.  So back on the "Home Page" template, I only filled out the hero unit's local scope section options and left the global options blank.  This however does not prevent the hero unit full-width section from displaying on the "About Us" template.  It just displays the default hero unit's global settings.
       
      How can I make the full-width section containing a hero unit only display on the "Home Page" template and not on the "About Us" template?  
       
      Are all custom full-width sections forced to be globally applied to all templates?
       
      It seems to me that one template's (non-global) regions and sections shouldn't be concerned with another template's (non-global) regions and sections.  Isn't that the point of having different templates so I can give sub pages a different layout from the home page?
       
      Any help would be much appreciated.
       
      Thanks,
      Wesley
    • LukeB
      By LukeB
      Hi I was just wondering if it was possible to use the hero unit with a video instead of an image? I have searched the forums but cannot find anything.
    • lazlo
      By lazlo
      Hi,
       
       
      I would like to have a hero unit with two action buttons (so I can have one button going to contact page, one button going to following page) can this be acheived by copying some of the code in hero/section.php, if so, which part?
       
      many thanks
    • Leonardo da Vinci
      By Leonardo da Vinci+
      Hi Guys,
       
      May I ask you to how can but ( image or color ) background to Highlight, Masthead,Callout and Hero unit sections.
       
      Thanks a lot 
       
    • gmoggel
      By gmoggel
      Hey mateys,
       
      i tried the hero section today and with a little help from this forum i could style the standards like h1, p and such. when inserting a <ul> with a specific class and a <li> with another class, i can't seem to style the list item via the customize plugin.
       
      this ist the html: 
      <!-- Hero | Section Template --> <section id="hero" class="container no_clone section-hero fix"><div class="texture"><div class="content"><div class="content-pad"> <div class="pl-hero-wrap row"> <div class="pl-hero span8"> <h1 class="m-bottom"></h1><h2>Mit der VSV Baden-Württemberg ...</h2><p>... sind sie perfekt ausgestattet: <ul class:"vorteile"> <li class:"listitem1">vom Ausbildungsbeginn an das Standardwerk zur Hand</li> <li class:"listitem2">Ergänzungslieferungen bequem im Abonnement</li> <li>versandkostenfreie Lieferung von Grundwerk und Ergänzungen</li> <li>schneller Service z.B. für das Nachbestellen fehlender Seiten</li> </ul></p><a class="btn btn-important btn-large" href="...">jetzt bestellen</a> </div> <div class="pl-hero-image span4"> <div class="hero_image"><img class="pl-imageframe" src="..." /></div> </div> </div> </div></div></div></section>  
       
      and this ist the css from the customize plugin:
       
      /*CUSTOMIZING HERO UNIT*/ .pl-hero-wrap .pl-hero h2 { color: #cc0000; font-size: 37px; font-weight:bold; } .pl-hero-wrap .pl-hero p { color: #CC0000; font-size: 16px; font-weight:bold; } .pl-hero-wrap .pl-hero ul.vorteile li.listitem1 li { color: #CC0000; font-size: 16px !important; font-weight:bold !important; } I'm confused how to select the list item which is not in a div but under a lot of divs and another ul. Any tips guys? (i deleted the respecting real url) I'd like to style it manually.
       
      cheers,
      mo
       
×