I'm altering the subblack3d theme, and I have a question, I'm not an HTML expert, I altered the centerblock.html to widen and shorten the Administration message block. (At least that's all it seemed to effect) I want to know how to widen EVERY block that appears in that center column, there's too much space between the left...center...right to me more like left.center.right.
Can anyone gimme insight into this, I would greatly appreciate it.
Thank you.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 created topic »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 01:39 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
- frw responded to »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 22. May
- mdee responded to »Short URL questions« 22. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Theme editing noob, article.html / centerblock.html
-
- Rank: Expert
- Registered: Mar 15, 2003
- Last visit: Oct 21, 2009
- Posts: 1221
On that theme, open centerblock.html and edit the main table width and set it to 90% width and centered.
--
Zikula Themes -
- Rank: Expert
- Registered: Dec 02, 2002
- Last visit: Apr 30, 2010
- Posts: 1474
Hi there,
Where ever you see width=xx - these are the attributes you will need to change.
Geez thats a hell of a lot of HTML for one block....
REgards
--
-Lobos
Professional PHP Framework Services: Concept, Development and Deployment -
- Rank: Expert
- Registered: Mar 15, 2003
- Last visit: Oct 21, 2009
- Posts: 1221
Replace ALL of that with
Code
<TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center">
<TR>
<TD WIDTH=20>
<IMG SRC="{image-path}subblack3dcenter_01.gif" WIDTH=20 HEIGHT=20 ALT=""></TD>
<TD background="{image-path}subblack3dcenter_02.gif" HEIGHT=20 ALT="" width="10"></TD>
<TD align="center" background="{image-path}subblack3dcenter_04.gif" width="100%"></TD>
<TD background="{image-path}subblack3dcenter_04.gif" HEIGHT=20 ALT="" width="10"></TD>
<TD WIDTH=18>
<IMG SRC="{image-path}subblack3dcenter_05.gif" WIDTH=18 HEIGHT=20 ALT=""></TD>
</TR>
<TR>
<TD background="{image-path}subblack3dcenter_06.gif" WIDTH=20 HEIGHT=170 ALT=""></TD>
<TD background="{image-path}subblack3dcenter_07.gif" HEIGHT=170 ALT="" width="10"></TD>
<TD background="{image-path}subblack3dcenter_08.gif" HEIGHT=170 ALT="" align="center" valign="top" width="100%">
<!-- [block-content] -->
</TD>
<TD background="{image-path}subblack3dcenter_09.gif" HEIGHT=170 ALT="" width="10"></TD>
<TD background="{image-path}subblack3dcenter_10.gif" WIDTH=18 HEIGHT=170 ALT=""></TD>
</TR>
<TR>
<TD WIDTH=20>
<IMG SRC="{image-path}subblack3dcenter_11.gif" WIDTH=20 HEIGHT=48 ALT=""></TD>
<TD background="{image-path}subblack3dcenter_12.gif" HEIGHT=48 ALT="" width="10"></TD>
<TD align="center" background="{image-path}subblack3dcenter_14.gif" width="100%">
<IMG SRC="{image-path}subblack3dcenter_13.gif" WIDTH=370 HEIGHT=48 ALT=""></TD>
<TD background="{image-path}subblack3dcenter_14.gif" HEIGHT=48 ALT="" width="10"></TD>
<TD WIDTH=18>
<IMG SRC="{image-path}subblack3dcenter_15.gif" WIDTH=18 HEIGHT=48 ALT=""></TD>
</TR>
</TABLE>
Remove the header and body lines too.
--
Zikula Themes -
- Rank: Expert
- Registered: Mar 15, 2003
- Last visit: Oct 21, 2009
- Posts: 1221
You said CENTER Blocks.
Not summary. :)
Replace summary.html with the following.
Code
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width=100% border=0 cellpadding=0 cellspacing=0 align="center">
<tr>
<td width=60 align="left" height="30"><img src="{image-path}subblack3dsummary_01.gif" width=60 height=30 alt=""></td>
<td background="{image-path}subblack3dsummary_02.gif" height=30 alt="" align="center">
<!-- [cat-title] -->
</td>
<td width=128 height="30" align="right"> <img src="{image-path}subblack3dsummary_03.gif" width=128 height=30 alt=""></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width=100% border=0 cellpadding=0 cellspacing=0 align="center">
<tr>
<td width="20"> <img src="{image-path}subblack3dsummary_04.gif" width=20 height=20 alt=""></td>
<td background="{image-path}subblack3dsummary_05.gif" height=20 alt=""></td>
<td width="28"> <img src="{image-path}subblack3dsummary_06.gif" width=28 height=20 alt=""></td>
</tr>
<tr>
<td background="{image-path}subblack3dsummary_07.gif" width=20 height=160 alt=""></td>
<td background="{image-path}subblack3dsummary_08.gif">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="100%">
<tr>
<td colspan="2">
<!-- [posted-by] -->
-
<!-- [posted-date-time] -->
</td>
</tr>
<tr>
<td align="center" valign="top" width="120"> <br>
<!-- [topic-image] -->
</td>
<td valign="top"> <br>
<!-- [article-summary] -->
<br>
<br>
<!-- [article-notes] -->
</td>
</tr>
</table>
</td>
<td background="{image-path}subblack3dsummary_09.gif" width=28 height=160 alt=""></td>
</tr>
<tr>
<td width="20"> <img src="{image-path}subblack3dsummary_10.gif" width=20 height=58 alt=""></td>
<td background="{image-path}subblack3dsummary_11.gif" height=58 alt="" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="50%">
<tr>
<td>
<!-- [article-reads] -->
</td>
<td align="right">
<!-- [article-more] -->
</td>
</tr>
</table>
</td>
<td width="28"> <img src="{image-path}subblack3dsummary_12.gif" width=28 height=58 alt=""></td>
</tr>
</table>
</td>
</tr>
</table>
<BR />
--
Zikula Themes -
- Rank: Expert
- Registered: Mar 15, 2003
- Last visit: Oct 21, 2009
- Posts: 1221
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 18
Erm, I'm a Sagittarius??
(Just kidding hehe) Yeah I recognized who you were, when I first installed my board and I was looking for some themes, I saw you mention your site, you do good work, I only wish I could afford to have a custom one done. ;)
And thanks for the help, the confusion lies with me not knowing what HTML was designated for what. Thank you again.
- Moderated by:
- Support
