Post by apmuskel » Thu Nov 26, 2015 9:16 pm

I am using a pretty standard shop and whant some custom content on the main home page

The layout right now is

The slideshow > Lates Products > Featured Products

I whant some custome banners under the slideshow so I thought using the HTML-content module would be great. But this module seems to be very buggy... When I save my html in the module and open it again it has choped off code that I just written. Some times it works fine, but when there is a bit more code..say maybe 10 lines and more it start to do really wierd stuff to my code.. it takes come tag away and but leaves the closeing tags and so on..

Is there a way to make this standard module to work as it should? Or is there some good alternative?
Thx

Newbie

Posts

Joined
Fri Aug 28, 2015 9:06 pm

Post by viethemes » Thu Nov 26, 2015 11:27 pm

Could you provide that code, so we can take a look at it closer?

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by apmuskel » Fri Nov 27, 2015 11:26 pm

Sure.
Something like this is what I am trying to add

Code: Select all

<div class="row flew">

 <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12" style="margin:5px 0px; padding:0px 5px;">
  <div style="background-color:#CCC; height:100px">SOME CONTENT</div>
 </div>
 
 <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12" style="margin:5px 0px; padding:0px 5px;">
  <div style="background-color:#CCC; height:100px">SOME CONTENT</div>
 </div>
 
 <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12" style="margin:5px 0px; padding:0px 5px;">
  <div style="background-color:#CCC; height:100px">SOME CONTENT</div>
 </div>
 
</div>
And when I save I get something like this or similar:

Code: Select all

<div class="row flew">

 <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12" style="margin:5px 0px; padding:0px 5px;">
   </div>
 </div>
 </div>
  </div>
 
</div>
But some times it works to save.. its really weird

Newbie

Posts

Joined
Fri Aug 28, 2015 9:06 pm
Who is online

Users browsing this forum: No registered users and 31 guests