Jump to content
Sign in to follow this  
page1searchenginemarketing

How To Add The Same Video and Text Across All Pages and Posts

Recommended Posts

page1searchenginemarketing    1
page1searchenginemarketing

I want to add a video and headline-item text across all pages and all posts of my site.  I saw a similar implementation but I could not find a way to do it in Pagelines as of yet.

 

Attached is the desired look-and-feel.  There is a video on the left-side and some text on the ride side.

 

post-42991-0-64213300-1367400731_thumb.j

 

The video and the text is the same across the board.

 

Please advise.

 

Share this post


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

Hi,

 

What you can do is add the ContentBox section to your site and use HTML to add your text and video. I recommend using the PageLines Grid to create your two column layout.

 

http://support.pagelines.me/docs/miscellaneous/grid-system/

We also provide shortcode support for YouTube and Vimeo, see here - http://support.pagelines.me/docs/miscellaneous/shortcodes/


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
page1searchenginemarketing    1
page1searchenginemarketing

Hi Ninja, thanks for showing the grid and short codes. 

 

If I put in the  grid system and shortcode for the video and the benefit list - in the ContentBox section, wouldn't I need to configure that for every new page and every new post that I make?

 

Is there a way to make the same video and the same benefit list site wide? I was hoping that just like the logo settings and navbar settings, these would automagically appear in all pages, posts, author pages, archives, categories, etc?

 

Is it possible to add these codes in the Custom Code section?

Header Scripts Pro
Scripts inserted directly before the end of the HTML <head> tag

 

Please advise.

Share this post


Link to post
Share on other sites
catrina    103
catrina

If I put in the  grid system and shortcode for the video and the benefit list - in the ContentBox section, wouldn't I need to configure that for every new page and every new post that I make?

If you put the ContentBox in a global template area like the Header or Footer, you can add the content to this section in PageLines > Page Options > Site Defaults > ContentBox and the same content will show on all pages/posts.

 

Is there a way to make the same video and the same benefit list site wide? I was hoping that just like the logo settings and navbar settings, these would automagically appear in all pages, posts, author pages, archives, categories, etc?

Yes, as long as you put this content in a section in a global template area and it's configured in Page Options > Site Defaults (as described in the answer above), the content should appear on all pages.

 

Is it possible to add these codes in the Custom Code section?

Which codes are you referring to specifically?


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
page1searchenginemarketing    1
page1searchenginemarketing

Thanks, catrina! 

 

When you refer to "ContentBox" is there actually a "ContentBox" in the navigation.  When I go PageLines > Page Options > Site Defaults  - I do not see "ContentBox."  All I see are 9 options:  Carousel, Highlight, Features, Callout, Hero Unit, Masthead, Boxes, Quick Slider and Banners.

 

The closest content section where I could add text is the Masthead.  Is there any other section where I can put the shortcodes in?  At the very bottom of the Masthead section, there is a

 

Masthead Meta
Enter text to be shown on Masthead (optional)

 

and I put the shortcodes for  what I need in there as follows:  (these shortcodes are what I was previously refering to as "codes")

<div class="row">
    <div class="span6">
    [pl_video type="youtube" id="tx_f5jAC5gs"]
    </div>
    <div class="span6">
    Span 8
    </div>
 </div>

In the Pagelines > Drag & Drop > Header > Editing SIte Header  - I added the Masthead to the header (under the NavBar). 

 

The Masthead section now appears on all pages and post but the shortcodes do not show?  The Masthead section looks like this below all throughout.

Masthead
Set Masthead page options to activate. Set Meta →

It seems that there is something missing in activating the shortcodes into the sequence  PageLines > Page Options > Site Defaults > Masthead? 

 

 

Please advise.

 

If you put the ContentBox in a global template area like the Header or Footer, you can add the content to this section in PageLines > Page Options > Site Defaults > ContentBox and the same content will show on all pages/posts.

 

Yes, as long as you put this content in a section in a global template area and it's configured in Page Options > Site Defaults (as described in the answer above), the content should appear on all pages.

 

Which codes are you referring to specifically?

 

Thanks again.

Share this post


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

Hi there,

 

The contentbox is a free additional section available from the pagelines store, its not part of the core sections. If you go to pagelines>store>sections>top free you'll be able to find and install directly into your site.

 

Not all sections are set to render shortcodes, for the layout you're looking to achieve you'd be better using the contentbox than the masthead section. Contentbox handles html/shortcodes.


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

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

    • StuLeeUK
      By StuLeeUK+
      Good morning,
      I have set up my homepage using the Elements sections, a Masthead at the top and then a selection of Heroes lower down.
      I only just realised that the Heroes set a H1, as does the Masthead.
      Is there an easy way I can change the Heroes to an H2/H3 etc so as to improve the structure of my headers, whilst keeping the Masthead as H1?
      I really don't know much at all about CSS, which is why I use Pagelines because it's just so easy to create good looking pages without too much confusion.
       
      page for reference is https://www.avangocouriers.co.uk
      Thanks,
      Stu
    • pehja
      By pehja+
      https://pehjaproduction.se/webbdesign/  Video is not showing up in Journey section. Why? I have entered this in the settings 
       
    • dougalperman
      By dougalperman+
      Hi there,
      I'm a big fan of Pagelines, and have been for years.
      I'm trying to control the size of video embeds and having some difficulty. I see that I can just paste the Vimeo video URL into the post and an embed widget will automatically appear, which is great. But the embed box created is much taller that the video (689 x 1000 pixels) so the content sits in the middle of a tall black box, which looks awkward.
      I tried using the full iFrame embed code from Vimeo, which solved the disproportionate embed frame size (or aspect ratio) issue, but despite specifying the dimensions I want (690 x 388), the videos displayed on the post are sized at 300 x 150 pixels.
      I can't work out how to change either.
      I'm using the latest version of Pagelines Framework (Pro) with the Agency them.
      Any help or advice very much appreciated.
      Thanks,
      Dougal
    • crose
      By crose+
      Hi,
      I am using the Canvas Area section at the top of my site. I have a video playing in the background, which works really well on desktop. But on mobile video doesn't play without user interaction, so I have a static image in place as an alternate image. However when viewed on a mobile device there is now a play button over the static image that does nothing. This didn't use to happen so I imaging it is due to an upgrade. But this is really bad UX. Is there a way to remove it?
      Here is the site:
      http://gator4088.hostgator.com/~asif/
      Thanks in advance.
      Chuck
    • Matt C.
      By Matt C.+
      Hi,
      So I used to use the Video Background extension that was offered here on pagelines, but until recently it continued to function.  Yesterday however it ceased to work and since it has been removed and no longer supported I've been forced to find a new way to show the youtube video that used to be on my background.
      I know that there is the option to upload videos for background, needing both an mp4 and ogv version.  However, since this is a youtube video I don't have any source files to upload.
      I have since turned to using the mb.YTPlayer wordpress plugin.  It seems to be working just fine on its part, as you can see a sliver of it playing just below my footer.  My issue though it that it doesn't show up behind my main body content.  Now it was my understanding that the backgrounds were defaulted to transparent in DMS2 and that this shouldn't be happening.  I've tried several CSS transparency codes to no avail, so my question is how am I able to get the video that is showing up right beneath the footer in other areas?  Either on a section by section basis or for the entire body?
      http://udforu.com
      Thanks!
×