1
gama3d
Tutorial: Fixing Screen Width of your theme to your desired width
  • 2006/10/19 23:05

  • gama3d

  • Just popping in

  • Posts: 4

  • Since: 2006/10/19


okay here is the solution

Solution 1: works for autoswitch full screen themes
in your css
Quote:

#holder {
width: 964px;
margin: 10px auto 0 auto;
text-align: left;
}


964px is ideal in your 1024*768 condition

margin is set perfect for 1024*768 condition, but it will not be if your desired width is diff

okie now edit your theme.html

add this
after head tag
Quote:

<div id=holder>


and just before /body tag
Quote:

</div>


now your theme is fixed at 1024*768 pixels

Solution 2: fixed width theme


open youe styles.css and theme.html
mostly properly coded themes contains fixed width, using table class in their css,
look for something like
container, or body holder, layout

for example this is filthy blue theme css
Quote:

#obLayout {
width: 760px; // this is you need2 change
margin: 0px auto;
padding: 0px;
text-align: left;
background-color: #FFFFFF;
}

and change this to about 900+ to 1000+ more than this will deff make your theme go more than 1024*768 resolution, but it depends on theme padding, and theme margin,
okie your theme is very poorly coded and its fixed width is in html tables, then edit your theme.html
in your case lets see a website link 12345.com

there is a table after body tag
Quote:

<table border="0" cellpadding="0" cellspacing="0" width="725" align="center">


note width=725 now this is making your site stick to 725px change this and you ill get your desired width,
simple tutorial, works fine,
now make sure that you change the size of you right and left blocks menus to atleast 170~225px just a rough idea what ever you like
hope this works for you



2
gama3d
Re: Penny dropped!
  • 2006/10/19 22:03

  • gama3d

  • Just popping in

  • Posts: 4

  • Since: 2006/10/19


Brother you are doing it wrong
you need to ftp theme in your themes folder not zip uncompressed files, then goto admin>>system>>prefrences>>default theme and select jamila_cs is that simple?



3
gama3d
Re: Personalized Menu - Link problems
  • 2006/10/19 21:56

  • gama3d

  • Just popping in

  • Posts: 4

  • Since: 2006/10/19


use imenu instead of default menu
its simply rocks any links u want any type,
search it in the modules dir



4
gama3d
Re: Screen Resolution
  • 2006/10/19 21:45

  • gama3d

  • Just popping in

  • Posts: 4

  • Since: 2006/10/19


okay here is the solution
in your css
Quote:

#holder {
width: 964px;
margin: 10px auto 0 auto;
text-align: left;
}


964px is ideal in your 1024*768 condition

okie now edit your theme.html

add this
after head tag
Quote:

<div id=holder>


and just before /body tag
Quote:

</div>


now your theme is fixed at 1024*768 pixels

now make sure that you change the size of you right and left blocks menus to atleast 170~225px just a rough idea what ever you like
hope this works for you




TopTop



Login

Who's Online

197 user(s) are online (158 user(s) are browsing Support Forums)


Members: 0


Guests: 197


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits