PDA

View Full Version : siteground-j15-2\css\template.css bug found


blaplante
05-30-2008, 05:44 AM
In siteground-j15-2\css\template.css (the green version of siteground-j15-1) there is a bug that causes the right column to get pushed downwards when the browser (IE7) is resized. This bug does not appear in siteground-15-1 (the blue version).
I compared the template.css files and found the following difference which causes the bug.

In the problem template, siteground-j15-2, there is:

div#maincolumn {
padding:0 10px;
float:left;
width: 66%; <-- PROBLEM: should be 64%
}

In the good template, siteground-j15-1, the value is:

div#maincolumn {
padding:0 10px;
float:left;
width: 64%;
}

In siteground-j15-2, change the width attribute to:
width: 64%;

and the problem goes away.

krackerjax
06-27-2008, 11:35 PM
I have noticed another error in the siteground-j15-2 template. It seems that the template does not have a breadcrumbs placement. I understand that a template will not have every single position coded in to it, but the breadcrumbs position is a pretty useful one.

Pitter
09-11-2008, 06:35 AM
I suggested that login this website http://www.css-faq.com/.A lot of article in this website.Read and learn the programming.

shoffm
07-28-2009, 12:25 AM
I am using the siteground-j15-2 template. I have spent about 15-20 hours jacking with the template trying to center youtube videos in the center section of the site. I gave up on the thing and was searching for other templates when I came across this: http://joomla15.siteground.com/?template=siteground-j15-2

On there there are centered pictures. If it is possible to center the pictures then it should be possible to center youtube videos in there. Is there someone who can tell me how to accomplish this? Please?

Keep in mind that the <center> tag is deprecated. I tried it anyway and it doesn't work.

Thank you.

wackozacko
08-01-2009, 08:35 AM
The problem with centering videos, or anything in many styles, is that the div containing your content is only as wide as the content and is itself positioned to the left. So when you add a youtube video and center it in the WYSIWYG it is actually centered in the tag, but the tag is only as wide as the video and is positioned left. Hence the problem

The solution is really quite simple. Add a style to your template.css file that makes the containing div tag (whose class is contentpaneopen) as wide as the main section like this

.contentpaneopen {
width:100%;
}

so that when you add centered content, it will actually appear centered.