Mambo forums
Forum Home Register Forum Rules FAQ Search Today's Posts Mark Forums Read

Go Back   Mambo CMS Forum > Mambo 3rd Party Extensions > Mambo Templates
 

Need help with modifying Template

This is a discussion on Need help with modifying Template within the Mambo Templates forums for Mambo.

Reply
 
Thread Tools
Old 28-11-2009, 12:27 AM   #1
Rorie
Mambo Supporter
 
Join Date: Jun 2008
Location: Australia
Posts: 164
Need help with modifying Template

i have managed it right up to now. but i have 2 black lines on the right & left sides of my content tag i have tried every trick in the book that i know off to remove them no luck. can anyone help me also i would like to stretch the template from the bottom, left & right hand sides so there are no spaces
Rorie is offline   Reply With Quote
Old 28-11-2009, 03:20 AM   #2
mamtom
Mambo Master
Forum Admin
 
Join Date: Jul 2008
Posts: 1,410
Re: Need help with modifying Template

Care to post a link to your site, and maybe tell us which template you're using.
__________________
Tom
mamtom is online now   Reply With Quote
Old 28-11-2009, 10:42 PM   #3
Rorie
Mambo Supporter
 
Join Date: Jun 2008
Location: Australia
Posts: 164
Re: Need help with modifying Template

Originally Posted by mamtom View Post
Care to post a link to your site, and maybe tell us which template you're using.
http://dosvault.rorboy1983.com/

i am attempting to modify the bubble template
Rorie is offline   Reply With Quote
Old 28-11-2009, 11:22 PM   #4
mamtom
Mambo Master
Forum Admin
 
Join Date: Jul 2008
Posts: 1,410
Re: Need help with modifying Template

A simple fix would be to change the background color of that spacer:

Code:
td.greyline {
	width: 0px;
	background: #333333;
}
Change it to #ffffff (white) and the grey (not black) lines will "disappear".

This really isn't a Mambo question, since you're tweaking a third party template. Do yourself a favor and download the (free) Web Developer template for the Firefox browser. That would allow you to easily and quickly figure out the parameters of each element on the page.
__________________
Tom
mamtom is online now   Reply With Quote
Old 30-11-2009, 04:51 AM   #5
Rorie
Mambo Supporter
 
Join Date: Jun 2008
Location: Australia
Posts: 164
Re: Need help with modifying Template

Originally Posted by mamtom View Post
A simple fix would be to change the background color of that spacer:

Code:
td.greyline {
	width: 0px;
	background: #333333;
}
Change it to #ffffff (white) and the grey (not black) lines will "disappear".

This really isn't a Mambo question, since you're tweaking a third party template. Do yourself a favor and download the (free) Web Developer template for the Firefox browser. That would allow you to easily and quickly figure out the parameters of each element on the page.
ok i removed this code

td.left_shadow {
width: 18px;
background: url(../images/shadow_left.png) repeat-y;
}

td.right_shadow {
width: 18px;
background: url(../images/shadow_right.png) repeat-y;
}

td.left_bot_shadow {
width: 18px;
height: 40px;
background: url(../images/shadow_left_bot.png) no-repeat;
}

td.right_bot_shadow {
width: 18px;
height: 40px;
background: url(../images/shadow_right_bot.png) no-repeat;
}

now i am getting a grey background i wish to stretch the template to cover the greyness i am quite unsure how to do this. any help will be appreciated. i can't do this without help thanx
Rorie is offline   Reply With Quote
Old 30-11-2009, 12:13 PM   #6
mamtom
Mambo Master
Forum Admin
 
Join Date: Jul 2008
Posts: 1,410
Re: Need help with modifying Template

Rorie,

I gave you the quick fix, but you've changed other stuff.

Please remember that this is a Mambo support forum, and the template you're playing around with is from a third party. You need to contact the third party vendor for help with modifying the template.

Alternatively, as I've suggested, download the Web Developer add-on for the Firefox browser, and use this to identify which code and css defines the various elements on the page.
__________________
Tom
mamtom is online now   Reply With Quote
Old 17-12-2009, 04:03 AM   #7
Rorie
Mambo Supporter
 
Join Date: Jun 2008
Location: Australia
Posts: 164
Re: Need help with modifying Template

Originally Posted by mamtom View Post
Rorie,

I gave you the quick fix, but you've changed other stuff.

Please remember that this is a Mambo support forum, and the template you're playing around with is from a third party. You need to contact the third party vendor for help with modifying the template.

Alternatively, as I've suggested, download the Web Developer add-on for the Firefox browser, and use this to identify which code and css defines the various elements on the page.
i have emailed the template author over a week later no reply so i am forced to come back here the web developer add-on doesn't help me much i have gone thru the code & cannot find the code that allows me to stretch the template so that i do not have a grey background on my left & right positions. i would appreciate it if somebody could take a look & instruct me or maby even prehaps fix the problem for me. any takers?
Rorie is offline   Reply With Quote
Old 17-12-2009, 08:15 AM   #8
mamtom
Mambo Master
Forum Admin
 
Join Date: Jul 2008
Posts: 1,410
Re: Need help with modifying Template

the code that allows me to stretch the template
It's not a simple matter of "stretching" the template; You're trying to edit a template that has a number of tables, all of which must be the correct size for the page to look right. If you're unwilling or unable to figure them all out, you'd be well advised to find a different template.

.... the web developer add-on doesn't help me much...
It doesn't appear that you're using the Web Developer add-on for Firefox, because it clearly shows you:

1. The css defining the grey background:
Code:
#page_bg {
	height: 100%; 
	background: #999999;
	padding: 0;
	margin-bottom: 1px
2. The center table width:
Code:
<table id="main" class="minimal" width="809">
3. The "shadow" outside the table:

Code:
<td class="left_shadow">
<img width="18" height="1" src="http://dosvault.rorboy1983.com/templates/bubble/images/spacer.png"/>
When you change the table width, you'll probably find the widths of other things on the page won't be right. Again, Web Developer shows you which ones, but you should seriously consider finding a template that does what you need.
__________________
Tom

Last edited by mamtom; 17-12-2009 at 08:17 AM.
mamtom is online now   Reply With Quote
Old 28-12-2009, 11:38 PM   #9
Rorie
Mambo Supporter
 
Join Date: Jun 2008
Location: Australia
Posts: 164
Re: Need help with modifying Template

i have had some help elsewhere so this thread is over & done with
Rorie is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:31 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Mambo Foundation, Inc © 2000 - 2008 All rights reserved. Mambo is Free Software released under the GNU/GPL License.

Managed Servers by DedicatedNOW