Jump to content
Sign in to follow this  
LukeB

Using the Hero Unit with a video

Recommended Posts

LukeB    0
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.

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there,

 

Unfortunately the hero doesn't have a media area, only an image field so it won't accept a video. You could try a banner instead or a feature which includes a media area to include video content.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
LukeB    0
LukeB

That's a shame. It would have been nice to use the button within the hero unit. I'll just use a banner instead then and add in a button manually.

 

Cheers

Share this post


Link to post
Share on other sites
James B    436
James B

The masthead section includes a media area and a button as well.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
LukeB    0
LukeB

Yeah I had a look at that but it seemed like a bit of a hassle to position the video on the right alongside the text using the masthead.

Share this post


Link to post
Share on other sites
Rob    547
Rob

Sorry to hear that, and for any inconvenience.  I'll look into this further but appreciate your time in letting us know.


Former PageLines Moderator, Food Expert and Raconteur

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
    • joeltwalters
      By 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.
    • 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
       
×