Hi Pablo, I'm not sure if I'm having a brain fart or not but can you help please...
I'm making an extension and I need the extension to be 100% Width and Height, do I place in the 'between style tag'? do I need to name the extension id for the styling to be effective?
width: 100%;
height: 100%;
*I need the actual 'self' extension (id) to be 100% in height and width.
Extension builder styling
Forum rules
This forum section can be used to submit suggestions for Extension Builder.
Note that this section is not monitored for support.
This forum section can be used to submit suggestions for Extension Builder.
Note that this section is not monitored for support.
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Extension builder styling
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
Re: Extension builder styling
Make sure the 'use div' is off.
Then you can add your own size and position code to the extension.
Unfortunately I cannot help you write the actual code.
Then you can add your own size and position code to the extension.
Unfortunately I cannot help you write the actual code.
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Extension builder styling
Thanks Pablo, I'll give that a try.
The problem I'm having is - It works fine in the layout grid with the self adjusted height, but when I choose 'full width=True' in the extension properties for the layout grid, the height gets cancelled out?
The problem I'm having is - It works fine in the layout grid with the self adjusted height, but when I choose 'full width=True' in the extension properties for the layout grid, the height gets cancelled out?
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
Re: Extension builder styling
A full width object does usually not have a fixed height. The height is calculate based on the width (height: auto).
But you can explicitly specify the height in your CSS.
But you can explicitly specify the height in your CSS.
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Extension builder styling
Thanks Pablo, sorry about this.
so this works:
But this is set to 300px in height at all times.
I want it so when a user changes the extension object height in WB it will automatically set the height in the CSS. Hope I'm explaining properly.
I have tried 100%; and auto: but when selecting 'Full Width=True' is defaults the height to '0'
Like I say, when selecting 'Full Screen=False' the extension sets the width and height from the extension size in WB to the actual size (same W & H in wb and CSS) . It's just when you set the Full Width to true (LG) it defaults the height.
so this works:
Code: Select all
#MYEXTENSION {
height: 300px;
}
I want it so when a user changes the extension object height in WB it will automatically set the height in the CSS. Hope I'm explaining properly.
I have tried 100%; and auto: but when selecting 'Full Width=True' is defaults the height to '0'
Like I say, when selecting 'Full Screen=False' the extension sets the width and height from the extension size in WB to the actual size (same W & H in wb and CSS) . It's just when you set the Full Width to true (LG) it defaults the height.
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
Re: Extension builder styling
You can use the built-in variable $HEIGHT$
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Extension builder styling
Thanks Pablo, my bad, I need to adjust the container rather than the div within, doh! thanks for your help!
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
- madebyibloo
-
- Posts: 366
- Joined: Fri Mar 27, 2009 3:58 pm
- Location: East Yorkshire, United Kingdom
- Contact:
Re: Extension builder styling
One final question Pablo,
is there any way I can create an extension and not have the 'Full Width' option displayed in the properties when placed inside the Layout Grid?
is there any way I can create an extension and not have the 'Full Width' option displayed in the properties when placed inside the Layout Grid?
Cheers,
Scott
www.madebyibloo.com - a creative design studio.
Scott
www.madebyibloo.com - a creative design studio.
Re: Extension builder styling
The option is always visible, because there is no way for WWB to know whether or not the extension supports it.