[Pro] pagediv

Hi Freewaypeople,

is there 1) a way to give the PageDiv a class or 2) can the PageDiv be removed?

TIA


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Not without diving into Source Code Snooper, and thus rendering your entire page into a code-editing exercise. Note that if you do this, you will “freeze” the entire page with respect to design and content – all changes will have to come from within SCS.

What are you trying to accomplish with this step? There may be another more Freeway-like way to do this.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

What are you trying to accomplish with this step? There may be another more Freeway-like way to do this.

Walter

Hi Walter,
I am using a boxmodel to hold several div’s.
Option 1 is: styling the pagediv and placing the div’s in the pagediv.
Option 2: styling a containing div that holds the other div’s.
Because I am using 2 different kind of holding div’s I need to style the pagediv in 2 different ways. So my first question: how to give the pagediv a class. Or I can use a wrapping div, resulting in the removal of the pagediv because it has no function at all. All the div styles are in a stylesheet, so there are no inline styles.

Wim


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you don’t need to override either min-height or position attributes
(the only two hard-coded attributes of a “vanilla” Freeway PageDiv),
then you could simply use #PageDiv (the guaranteed ID of the one and
only PageDiv on any Freeway page) as your CSS selector, rather than
using a classname.

Since you’re hand-coding your CSS (I’m assuming) this should have no
side-effects that I can think of. You may even be able to override
these two inline styles (not sure) by using the !important keyword in
your individual style declarations.

Walter

On Mar 9, 2009, at 9:55 AM, maccie wrote:

What are you trying to accomplish with this step? There may be
another more Freeway-like way to do this.

Walter

Hi Walter,
I am using a boxmodel to hold several div’s.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

min-height has to go, and I would like to use 2 different styled PageDivs in the site. Once with a blue background for the index page and the other ones plain white with a grey 1px border. All the inline styles are removed with the page div styles action and then removed from the heading with the ESS action. The div styles are then placed in the stylesheet. I can remove the pagediv inline styles with the first action, so the min-height is no longer a problem. The problem is the starterpage where the pagediv has to have a blue background. And since I am using a siyewide single stylesheet, I thought of using a class for this 1 page.

Wim


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Give this a try, it was really simple to do since it does just about
no input-checking (it assumes you know what you’re doing, in other
words).

http://www.actionsforge.com/actions/view/143-pagediv-extended

This Action will either remove or entirely replace the style tag from
the PageDiv, and it will further allow you to add a className
attribute to it.

Walter

On Mar 9, 2009, at 10:31 AM, maccie wrote:

min-height has to go, and I would like to use 2 different styled
PageDivs in the site.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walter, you’re my new superhero!!! The possibility to add a class to the pagediv is super :slight_smile:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options