Jump to content


Photo
- - - - -
Resolved

Specify A Specific Css File For A Banner?



  • Please log in to reply
6 replies to this topic

#1 hireconrad

hireconrad

    Super Member

  • Members
  • 155 posts
  • Country: Country Flag

Posted 15 November 2012 - 08:37 PM

Hi,
i would like to implement this:

Please Login or Register to see this Hidden Content



into a banner.


I have added the custom javascript necessary in pagelines/site options/custom code/header scripts

Question
1) is there another way of doing this so that the code will stay if I update pagelines? I use pagelines customize to edit the css of the whole site, but is there something equivalent for adding in header code?)


I need to know link the contents of a particular banner to a specific CSS file

Question
2) How do you specify a specific banner to a specific css file?

#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 15 November 2012 - 10:33 PM

Before I answer questions 1 and 2, have you seen this?:

Please Login or Register to see this Hidden Content



Answers:
1. Anything you do that's included in a Base or Child theme, in dynamic css (Custom Code > CSS Rules) or in the PageLines Customize plugin are protected from future PageLines Framework upgrades or updates.

2. You can create a banner using shortcode as described in the link at the top of my reply.

#3 hireconrad

hireconrad

    Super Member

  • Members
  • 155 posts
  • Country: Country Flag

Posted 15 November 2012 - 10:37 PM

Before I answer questions 1 and 2, have you seen this?:

Please Login or Register to see this Hidden Content



Answers:
1. Anything you do that's included in a Base or Child theme, in dynamic css (Custom Code > CSS Rules) or in the PageLines Customize plugin are protected from future PageLines Framework upgrades or updates.

2. You can create a banner using shortcode as described in the link at the top of my reply.


I dont understand your second answer. I dont see in the link for a short code to create a banner, and why would i want to create a short code banner anyways? I want to specify a specific css file to a specific banner.

#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 15 November 2012 - 11:08 PM

A banner is a section, and thus it cannot be included into any CSS element as CSS doesn't serve as a means to call a section. You could implement a specific image file via CSS. But that didn't seem to be what you were asking.

My recommendation was an effort to allow you to implement a specific banner someplace you seek to have it appear.

I'd suggest that you check

Please Login or Register to see this Hidden Content

to see what CSS can do. If it's not in that site, it can't be done.

#5 hireconrad

hireconrad

    Super Member

  • Members
  • 155 posts
  • Country: Country Flag

Posted 15 November 2012 - 11:36 PM

A banner is a section, and thus it cannot be included into any CSS element as CSS doesn't serve as a means to call a section. You could implement a specific image file via CSS. But that didn't seem to be what you were asking.

My recommendation was an effort to allow you to implement a specific banner someplace you seek to have it appear.

I'd suggest that you check

Please Login or Register to see this Hidden Content

to see what CSS can do. If it's not in that site, it can't be done.

would i be able to perhaps use an iframe within a banner?

#6 hireconrad

hireconrad

    Super Member

  • Members
  • 155 posts
  • Country: Country Flag

Posted 16 November 2012 - 01:40 AM

you can mark this resolved as I have changed my plans and dont need a solution to this issue.

#7 mackenzie

mackenzie

    Advocate

  • Members
  • 333 posts
  • Country: Country Flag

Posted 16 November 2012 - 02:03 AM

The topic was marked as resolved.





Also tagged with one or more of these keywords: Resolved