Keyword

Issue with Rocketheme templates and K2 ItemTools area

  • Cornerstone Properties, LLC
  • Cornerstone Properties, LLC's Avatar
  • Offline
  • New Member
More
15 years 1 week ago #69835 by Cornerstone Properties, LLC
Replied by Cornerstone Properties, LLC on topic Issue with Rocketheme templates and K2 ItemTools area
Ok--sorry to post-bomb with my results, but I think I have figured out your instructions (the issue was with my limited understanding...). I tried to add the: #contentfix {float: left;} to every position in the following code, with no luck. I added the new #contentfix float: left before and after the #maincontent-block line, and on every other line of this block to test it out, but still got the split between the article title, and the text of the article (the text started after the inset text).

/* 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
  • Zandergraphics's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 1 week ago #69836 by Zandergraphics
Replied by Zandergraphics on topic Issue with Rocketheme templates and K2 ItemTools area
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.

  • Cornerstone Properties, LLC
  • Cornerstone Properties, LLC's Avatar
  • Offline
  • New Member
More
15 years 1 week ago #69837 by Cornerstone Properties, LLC
Replied by Cornerstone Properties, LLC on topic Issue with Rocketheme templates and K2 ItemTools area
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.

  • Zandergraphics
  • Zandergraphics's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 1 week ago #69838 by Zandergraphics
Replied by Zandergraphics on topic Issue with Rocketheme templates and K2 ItemTools area
Glad to hear it. Like I mentioned, I'll be in the same spot soon so I'll just expect to have to fix it there too.


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.

More
14 years 4 months ago #69839 by sinyuwu
I hit this issue with SolarSentinel as well. Thank you so much for the suggestion. I've been beating my head against a wall for days on this one, tried changing the clr classes to not clear the floats like other posts have mentioned, which caused all sorts of other chaos instead. This worked like a champ, you are my hero of the week!!!!

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.

More
14 years 3 weeks ago #69840 by Renea
Rockettheme Versatility IV fix was easier.

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.


Powered by Kunena Forum