Shape 5

Joomla Templates => Campus Life - Club => : scheer72 April 27, 2016, 08:40:26 PM



: Problems with custom HTML code
: scheer72 April 27, 2016, 08:40:26 PM
Hi!!

The custom HTML code provided in some modules doesn't display the different modules as indicated on your template. I read all your manuals, but even if I just copy past the code, the different modules aren't displayed correctly.

I have problems with:
1) Modules within the menu, for example the images displayed within the module "Tutorials" on your template: the text gets displayed in another line, and not the same line as the photos

2) top_row1_1, Events in your template: an additional line gets introduced once you copy paste the code, or try to change it

3) The same with the other positions on the frontpage, custom_4 and custom_5. IN both areas an additional line is added, no matter what you do, also if I just copy the original html code you provide.

My test website for current development is: http://www.uestc-global.jadiliano.org/, and then the problems are on the menu contacts, or the whole frontpage.

Might I please ask you to let me know what I should change within the code of these modules??

Thanks, and many greetings

Martin


: Re: Problems with custom HTML code
: jonahh April 28, 2016, 12:11:19 PM
Hello,

1.) There is a <p> tag that appears to be inserted on your site causing this issue. Just remove this and you should be good to go. Your editor may automatically be adding this in so you may have to temporarily disable your editor to remove this.

2 and 3.) No idea why but any

:
<div style="clear: both;"> </div>

on your site adds the space. To fix just be sure to add a height to it and this will fix the issue:

:
<div style="clear: both; height: 0px;"> </div>


: Re: Problems with custom HTML code
: scheer72 April 29, 2016, 03:03:16 AM
Thanks a lot, works great now. Should have asked you earlier, spent so much time on trying to figure this out ;-))


: Re: Problems with custom HTML code
: jonahh April 29, 2016, 10:50:32 AM
Aw man, yeah just reach out next time :)