- This topic is empty.
-
AuthorPosts
-
January 14, 2010 at 10:53 am #27570wingyeMember
Hi guys,
First of all i want to thank Chris for the screencast about the loop, and second of all i want to thank the Doc for helping me.
Finally i manage to get the site online(after a month + work, and first time creating a site in wordpress) and running. during my crafting i didnt come across this little weird problem after i put it online. The problem accord when you switch from HOME and ONS WERK a couple times.
You can try it out at http://www.dreamin.nl ( this problem happens in latest firefox), it works fine in safari and chrome.
When you click on both a couple times the div just teardown in pieces.my code is as follow
CSS
Code:/*START OF WOKR_MODULE_ROW*/.work_module_row {
height: 205px;
background-color: #fff;
}.border {
height: 10px;
border-top: solid 1px #d6d6d6;
margin-top:34px;
}/*START WORK_S_*/
.work_s {
width: 284px;
height: 176px;
background-color:#4CC6E8;
display:block;
left: 15px;
float:left;
margin-right:16px;
margin-top:37px;
position:relative;
border: solid 5px;
}.projectthumbshadow {
height: 15px;
width: 300px;
background-image: url(images/project_thumb_shadow.png);
background-repeat: no-repeat;
position: absolute;
bottom: -20px;
}.work_s .projectname {
width: auto;
color: #FCFCEE;
font-size: 14px;
position: absolute;
left: -5px;
bottom:40px;
padding: 0 10px 0 10px;
background-color: #000;
}.projectdesc{
width: auto;
color: #FCFCEE;
font-size:12px;
position: absolute;
left: -5px;
bottom:13px;
padding: 0 10px 0 10px;
background-color: #000;
}And the loop code
Code:1, ‘post_parent’ =>40, ‘post_type’ =>’page’));
while (have_posts()) {
the_post(); //Vital
$thumbPath = get_post_meta($post->ID, ‘thumbnail’, true);
if ($thumbPath == “”) {
$thumbPath = “/images/comingsoon.jpg”;
}?>
ID, ‘projectdesc’, true); ?>
1, ‘post_parent’ =>71, ‘post_type’ =>’page’));
while (have_posts()) {
the_post(); //Vital
$thumbPath = get_post_meta($post->ID, ‘thumbnail’, true);
if ($thumbPath == “”) {
$thumbPath = “/images/comingsoon.jpg”;
}?>
ID, ‘projectdesc’, true); ?>1, ‘post_parent’ =>87, ‘post_type’ =>’page’));
while (have_posts()) {
the_post(); //Vital
$thumbPath = get_post_meta($post->ID, ‘thumbnail’, true);
if ($thumbPath == “”) {
$thumbPath = “/images/comingsoon.jpg”;
}?>
ID, ‘projectdesc’, true); ?>
I think its the CSS part which cause the problem i am not sure, although i have tried alot on fixing it but it keep appearing.
I hope you guys can lend me a hand to fix this
Thanks,
Wing