Download This Theme

Author Topic: [Tutorial] centering tabs in 1.1.8  (Read 16998 times)

Offline Runic

  • Co-Founder
  • Hero Member
  • *****
  • Posts: 933
  • Metal!!
[Tutorial] centering tabs in 1.1.8
« on: April 17, 2009, 09:32:10 AM »
Ok in this tutorial I will give a simple and quick method on how to center your tabs in smf 1.1.8 on a default based theme.

This is actually a really simple procedure

open your index.template.php and search for:

Code: [Select]
<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">

simply replace the

style="margin-left: 10px;" to align="center"  so it will look like this

Code: [Select]
<table cellpadding="0" cellspacing="0" border="0" align="center">
Bryan "Runic" Deakin
Co-founder SMF Themes.org
Customiser Simple Machines LLC

 

SMFThemes.org would like to thank Network Redux for providing us with our hosting.
Templates: 3: index (Paper), Site (site_template), Display (default).
Sub templates: 10: init, html_above, site_outside_above, body_above, site_inside_above, main, site_inside_below, body_below, site_outside_below, html_below.
Language files: 1: index+Site+Modifications.english (Paper).
Style sheets: 0: .
Files included: 22 - 622KB. (show)
Cache hits: 10: 0.00517s for 13,072 bytes (show)
Queries used: 17.

[Show Queries]