Support ⇒ Themes ⇒ Fixed Width Theme ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexThemes

Fixed Width Theme Reply to topic


Using DF 4 default theme
I want to make a fixed width theme centered, what is the best way to do this?
Also what is the best size to use e.g. 960px?

I feel silly asking but it has been so long since i played with themes i have forgotten where to start.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Litespeed/Apache2.4.23/MySQL5.5.42/PHP 5.6.25/DF 9.4.0.0


#container { margin: 0 auto; width: 960px; }
<body><div id="container">

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial

Last edited by DJ Maze on Wed Sep 09, 2015 7:26 am; edited 1 time in total


Thank you again Smile

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Litespeed/Apache2.4.23/MySQL5.5.42/PHP 5.6.25/DF 9.4.0.0

All times are UTC


Jump to: