How to change Hestia width?

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Anti-Spam Guide
Locked
User avatar
miurdock
Registered User
Posts: 79
Joined: Sat Sep 24, 2005 9:30 am
Contact:

How to change Hestia width?

Post by miurdock »

Hello,

I want to change forum width on style Hestia. There is no Overal header main table, i find only:

<div id="content">
<table border="0" cellspacing="0" cellpadding="0" width="{$CA_WIDTH}" id="maintable" align="center">
<tr>

so how to make 80 perc. and center it?
User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: How to change Hestia width?

Post by Raimon »

Open styles/hestia/template/ca_config.html and change the width on that file.
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!
User avatar
yimo
Registered User
Posts: 23
Joined: Sat Oct 08, 2005 9:40 pm

Re: How to change Hestia width?

Post by yimo »

Raimon wrote:Open styles/hestia/template/ca_config.html and change the width on that file.
the same method for prosilver style?
Gambling online Database | Poker Room
Ubuntu 7.04+Vmware workstation6.0.2 (winxp)+PHP 5.2.5+Apache 2.2.8+MySQL 5.0.45+phpMyAdmin 2.11.4+ZendOptimizer 3.3.0+OpenSSL 0.9.8g+eAccelerator 0.9.5.2+cURL
User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: How to change Hestia width?

Post by Raimon »

Nope there for you need to read this http://www.phpbb.com/kb/article/fixed-width-prosilver/ :D
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!
User avatar
miurdock
Registered User
Posts: 79
Joined: Sat Sep 24, 2005 9:30 am
Contact:

Re: How to change Hestia width?

Post by miurdock »

Raimon wrote:Open styles/hestia/template/ca_config.html and change the width on that file.
i have changed

Code: Select all

<!-- IF $CA_COMMENTS -->
$CA_SPACING - cellspacing for all tables
$CA_WIDTH - page width. examples: '100%', '800'
<!-- ENDIF -->

<!-- DEFINE $CA_WIDTH = '80%' -->
<!-- DEFINE $CA_SPACING = '0' -->

<!-- DEFINE $CA_CAP_START = '<caption><div class="cap-left"><div class="cap-right">' -->
<!-- DEFINE $CA_CAP_END = '&nbsp;</div></div></caption>' -->
<!-- DEFINE $CA_BLOCK_START = '<div class="block-start">' -->
<!-- DEFINE $CA_BLOCK_END = '<div class="block-end-left"><div class="block-end-right"></div></div></div>' -->
<!-- DEFINE $CA_SKIP_LAST_SPACER = '1' -->
100 to 80% but it doesn't work..
User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: How to change Hestia width?

Post by Raimon »

Did you prune the cache after you made that adjustment?
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!
User avatar
miurdock
Registered User
Posts: 79
Joined: Sat Sep 24, 2005 9:30 am
Contact:

Re: How to change Hestia width?

Post by miurdock »

Yeah.. It doesn't work..

i changed

Code: Select all

<div id="content">
<table border="0" cellspacing="0" cellpadding="0" width="{$CA_WIDTH}" id="maintable" align="center">
<tr>
to

Code: Select all

<div id="content">
<table border="0" cellspacing="0" cellpadding="0" width="80%" id="maintable" align="center">
<tr>
but i want to center header with logo and login form too.

take a look

Image
User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: How to change Hestia width?

Post by Raimon »

could you post a url to your board?
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!
User avatar
miurdock
Registered User
Posts: 79
Joined: Sat Sep 24, 2005 9:30 am
Contact:

Re: How to change Hestia width?

Post by miurdock »

So what do you think?
User avatar
rhythm1
Registered User
Posts: 950
Joined: Sat May 10, 2008 9:23 pm
Location: Maldives

Re: How to change Hestia width?

Post by rhythm1 »

Try this for the header.

Code: Select all

html>body #logo-right { 
              min-height: 70px; 
              width: 80%; 
              margin-left: auto; 
              margin-right: auto; 
}

8-)
`Rhythm
I 'd rather live in a world with PHPBB
Where we stand and where we siT - Shit is bound to be always therE
Locked

Return to “[3.0.x] Styles Support & Discussion”