# Template resizing

**URL:** <https://forum.phpvms.net/t/template-resizing/2723>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [May 24, 2010, 7:59pm UTC](https://forum.phpvms.net/t/template-resizing/2723 "2010-05-24T19:59:18Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Felipe\_Faria](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/f/c6cbf5/32.png) [@Felipe\_Faria](https://forum.phpvms.net/u/Felipe_Faria)\
**Post date:** [May 24, 2010, 7:59pm UTC](https://forum.phpvms.net/t/template-resizing/2723/1 "2010-05-24T19:59:18Z")

</div>

Hello Nabeel!

As we work with Joomla in our main site (www.brisalinhasaereas.com), we are trying to make phpVMS basic template to fit into an article layout as an iFrame. The problem is our Joomla template is limited to 900px width. This restriction gives us rolling bars: erghhhhh… :blink: Is there a way to reduce phpVMS basic template width to fit in a maximum 900px iframe. If so, how can I do it?

Thank you!

p.s.: here is how is set our phpVMS: [http://dov.brisalinhasaereas.com](http://dov.brisalinhasaereas.com)

---

<div class="post-metadata">

**Author:** ![mark1million](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mark1million/32/15_2.png) [@mark1million](https://forum.phpvms.net/u/mark1million)\
**Post date:** [May 24, 2010, 8:54pm UTC](https://forum.phpvms.net/t/template-resizing/2723/2 "2010-05-24T20:54:05Z")

</div>

HI you can define your page size to what ever size you want.

just customize the default skin and make your changes, be sure to create another folder to place your changes in and use the admin section to define your new skin.

This will explain it better,

---

<div class="post-metadata">

**Author:** ![Felipe\_Faria](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/f/c6cbf5/32.png) [@Felipe\_Faria](https://forum.phpvms.net/u/Felipe_Faria)\
**Post date:** [May 24, 2010, 9:10pm UTC](https://forum.phpvms.net/t/template-resizing/2723/3 "2010-05-24T21:10:23Z")

</div>

> HI you can define your page size to what ever size you want.
> 
> just customize the default skin and make your changes, be sure to create another folder to place your changes in and use the admin section to define your new skin.
> 
> This will explain it better,

Hello, Mark!

Thank you for you support.

But this is not what I’m looking for yet.

I’ve already made this changes. With that I have no doubt.

The problem is the width anyway…

---

<div class="post-metadata">

**Author:** ![mark1million](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mark1million/32/15_2.png) [@mark1million](https://forum.phpvms.net/u/mark1million)\
**Post date:** [May 24, 2010, 9:23pm UTC](https://forum.phpvms.net/t/template-resizing/2723/4 "2010-05-24T21:23:33Z")

</div>

Hi you can get rid of the bars by adding scrolling=no to the iframe

Sorry i misunderstood

---

<div class="post-metadata">

**Author:** ![Felipe\_Faria](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/f/c6cbf5/32.png) [@Felipe\_Faria](https://forum.phpvms.net/u/Felipe_Faria)\
**Post date:** [May 24, 2010, 9:37pm UTC](https://forum.phpvms.net/t/template-resizing/2723/5 "2010-05-24T21:37:17Z")

</div>

You are right. No scrolling I get no bars. On the other hand, template is cut inside the frame.

---

<div class="post-metadata">

**Author:** ![mark1million](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mark1million/32/15_2.png) [@mark1million](https://forum.phpvms.net/u/mark1million)\
**Post date:** [May 24, 2010, 9:43pm UTC](https://forum.phpvms.net/t/template-resizing/2723/6 "2010-05-24T21:43:24Z")

</div>

you can either widen the iframe or reduce phpvms, i had a site running phpvms with a width of 750px so it is possible to do.

---

<div class="post-metadata">

**Author:** ![Felipe\_Faria](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/f/c6cbf5/32.png) [@Felipe\_Faria](https://forum.phpvms.net/u/Felipe_Faria)\
**Post date:** [May 24, 2010, 10:37pm UTC](https://forum.phpvms.net/t/template-resizing/2723/7 "2010-05-24T22:37:10Z")

</div>

> you can either widen the iframe or reduce phpvms, i had a site running phpvms with a width of 750px so it is possible to do.

Very nice! Would you please give me some tips about how to set it?

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [May 24, 2010, 11:33pm UTC](https://forum.phpvms.net/t/template-resizing/2723/8 "2010-05-24T23:33:04Z")

</div>

You need to edit the CSS in the skin to change the width

---

<div class="post-metadata">

**Author:** ![Felipe\_Faria](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/f/c6cbf5/32.png) [@Felipe\_Faria](https://forum.phpvms.net/u/Felipe_Faria)\
**Post date:** [May 24, 2010, 11:59pm UTC](https://forum.phpvms.net/t/template-resizing/2723/9 "2010-05-24T23:59:14Z")

</div>

> You need to edit the CSS in the skin to change the width

Very nice, very nice! I was running some test with FireBug and it worked out fine. I’m sorry for bothering you all, but I’m not so close to php and css. But I try!

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [May 25, 2010, 1:02am UTC](https://forum.phpvms.net/t/template-resizing/2723/10 "2010-05-25T01:02:39Z")

</div>

No prob! Firebug is a great tool for debugging these issues
