- Posts: 20
COMMUNITY FORUM
Issue with Rocketheme templates and K2 ItemTools area
- Zandergraphics
-
Topic Author
- Offline
- Junior Member
Has anyone else been having this issue? It seems to appear on several of the default templates too, but just not milkyway. I'll keep digging but this is a rather big deal to us as the extra space just doesn't look right....
Anyone have any ideas or suggestions??
Please Log in or Create an account to join the conversation.
- Zandergraphics
-
Topic Author
- Offline
- Junior Member
- Posts: 20
www.zandergraphics.net/2009/studio/about.html
This part of the site is obviously not live yet and I will be playing with fixes but mostly it should be the same...
Please Log in or Create an account to join the conversation.
- Matthias Bley
-
- Offline
- Junior Member
- Posts: 28
So disable what you dont need. Something like this i had one times before.
Try something like this:
div.itemBody {
margin-top:-80px;
padding:0 0 15px;
}
css-f177...424ab.php (Line 95)
And next set the rating position.
This could it be !?
Please Log in or Create an account to join the conversation.
- Zandergraphics
-
Topic Author
- Offline
- Junior Member
- Posts: 20
I'm pretty sure that the issue lies with the three .clr divs that are generated in that area. I just need to figure out why and what needs to change to avoid this issue....
Still digging but open to any suggestions...
Please Log in or Create an account to join the conversation.
- Zandergraphics
-
Topic Author
- Offline
- Junior Member
- Posts: 20
Please Log in or Create an account to join the conversation.
- Zandergraphics
-
Topic Author
- Offline
- Junior Member
- Posts: 20
Please Log in or Create an account to join the conversation.
- Cornerstone Properties, LLC
-
- Offline
- New Member
- Posts: 18
Jeff
Please Log in or Create an account to join the conversation.
- Zandergraphics
-
Topic Author
- Offline
- Junior Member
- Posts: 20
#contentfix {
float: left;
}
Looking through there again, I can't remember why just adding the float to the #maincontent-block div didn't work, but I'm pretty sure I tried that and needed the extra div, though I can't think why at the moment... I think it was because the real issue is with a clear div that is inserted by K2 that mucks things up and you just need to keep that div contained in the middle...
I tried to past the html in here but it looked like crap so I left it out, but it's simple, it's just an extra div right inside that main content one. I can PM or email the code if you still have questions.
Glad to know that this is still there in Moxy because I was getting ready to use that as the base for a new site so I'll have to fix that too....
Jeff Cooper said:Kyle, I'm having the same issue with Moxy from Rockettheme (and have had same issue with other Rockettheme templates when using inset positions -- prior solution for me was to use left or right instead of inset! I was wondering if I could get more info about your fix to this! Thanks! Jeff
Please Log in or Create an account to join the conversation.
- Cornerstone Properties, LLC
-
- Offline
- New Member
- Posts: 18
Here is the bodycontent DIV, from index.php (which contains the maincontent-block div reference):
From template.css, here is the reference to maincontent-block:
/* Main Page Structure */
#maincontent-block {padding: 15px 20px}
#inset-block-right {float: right;}
#inset-block-left {float: left;}
table.mainbody, table.blog {width: 100%;border: 0;padding: 0;}
.spacer .block {float: left;
I tried adding the float to the template.css after the 'padding' reference, but that just moved the entire article below the end of the left inset position.
thanks
Please Log in or Create an account to join the conversation.
- Cornerstone Properties, LLC
-
- Offline
- New Member
- Posts: 18
div class="bodycontent">
?php if ($this->countModules('inset2') and !$editmode) : ?>
div id="inset-block-right">
jdoc:include type="modules" name="inset2" style="main" />
/div>
?php endif; ?>
?php if ($this->countModules('inset') and !$editmode) : ?>
div id="inset-block-left">
jdoc:include type="modules" name="inset" style="main" />
/div>
?php endif; ?>
div id="maincontent-block">
jdoc:include type="message" />
?php if (!($frontpage_component == 'hide' and JRequest::getVar('view') == 'frontpage')): ?>
jdoc:include type="component" />
?php endif; ?>
/div>
/div>
Please Log in or Create an account to join the conversation.
- Cornerstone Properties, LLC
-
- Offline
- New Member
- Posts: 18
/* Main Page Structure */
#maincontent-block {padding: 15px 20px}
#inset-block-right {float: right;}
#inset-block-left {float: left;}
table.mainbody, table.blog {width: 100%;border: 0;padding: 0;}
.spacer .block {float: left;}
Please Log in or Create an account to join the conversation.
- Zandergraphics
-
Topic Author
- Offline
- Junior Member
- Posts: 20
div id="maincontent-block">
div id="contentfix">
and then close it off in the appropriate spot before the end of the maincontent-block div...
and just assign the left float to the contentfix div in your CSS.
Jeff Cooper said:Ok--oops. The div text didn't show up--should have known it wouldn't. Here it is again (I took the leading < off of each line):
div class="bodycontent">
?php if ($this->countModules('inset2') and !$editmode) : ?>
div id="inset-block-right">
jdoc:include type="modules" name="inset2" style="main" />
/div>
?php endif; ?>
?php if ($this->countModules('inset') and !$editmode) : ?>
div id="inset-block-left">
jdoc:include type="modules" name="inset" style="main" />
/div>
?php endif; ?>
div id="maincontent-block">
jdoc:include type="message" />
?php if (!($frontpage_component == 'hide' and JRequest::getVar('view') == 'frontpage')): ?>
jdoc:include type="component" />
?php endif; ?>
/div>
/div>
Please Log in or Create an account to join the conversation.
- Cornerstone Properties, LLC
-
- Offline
- New Member
- Posts: 18
Jeff
Kyle Gonyea said:Yeah, I don't think it works to add the float to any of the existing divs, but it worked for me to add
div id="maincontent-block">
div id="contentfix">
and then close it off in the appropriate spot before the end of the maincontent-block div...
and just assign the left float to the contentfix div in your CSS.
Please Log in or Create an account to join the conversation.
- Zandergraphics
-
Topic Author
- Offline
- Junior Member
- Posts: 20
Jeff Cooper said:Thanks! Perfect with Moxy! Jeff
Kyle Gonyea said:Yeah, I don't think it works to add the float to any of the existing divs, but it worked for me to add div id="maincontent-block">
div id="contentfix">
and then close it off in the appropriate spot before the end of the maincontent-block div...
and just assign the left float to the contentfix div in your CSS.
Please Log in or Create an account to join the conversation.
- sinyuwu
-
- Offline
- New Member
- Posts: 2
Endless thanks,
Kenny
Kyle Gonyea said:Yeah, I don't think it works to add the float to any of the existing divs, but it worked for me to add
div id="maincontent-block">
div id="contentfix">
and then close it off in the appropriate spot before the end of the maincontent-block div...
and just assign the left float to the contentfix div in your CSS.
Jeff Cooper said:Ok--oops. The div text didn't show up--should have known it wouldn't. Here it is again (I took the leading < off of each line): div class="bodycontent">
?php if ($this->countModules('inset2') and !$editmode) : ?>
div id="inset-block-right">
jdoc:include type="modules" name="inset2" style="main" />
/div>
?php endif; ?>
?php if ($this->countModules('inset') and !$editmode) : ?>
div id="inset-block-left">
jdoc:include type="modules" name="inset" style="main" />
/div>
?php endif; ?>
div id="maincontent-block">
jdoc:include type="message" />
?php if (!($frontpage_component == 'hide' and JRequest::getVar('view') == 'frontpage')): ?>
jdoc:include type="component" />
?php endif; ?>
/div>
/div>
Please Log in or Create an account to join the conversation.
- Renea
-
- Offline
- New Member
- Posts: 13
div.itemView just needed "float: left" added to it in the K2 template CSS (line 139 in my css file but i am using a template override so your .itemView class might be on another line)
Please Log in or Create an account to join the conversation.