- Posts: 6
- Thank you received: 0
advert1 module misaligned
-
ComProces
Inactive member -
Topic Author
- New Member
-
Less
More
14 years 5 months ago #2728
by ComProces
advert1 module misaligned was created by ComProces
We were testing with the advert modules. Now module advert1 is bigger than the other three and I have no idea why. Tried to restore by pasting the code of advert2 but doesn't help.
our site: www.procesdenkers.nl
Check the first advert (advert1) which is bigger. How to fix this?
Thanks!
our site: www.procesdenkers.nl
Check the first advert (advert1) which is bigger. How to fix this?
Thanks!
Please Log in to join the conversation.
-
milos
Support Staff -
- Moderator
-
Less
More
- Posts: 6784
- Thank you received: 720
14 years 5 months ago #2729
by milos
Replied by milos on topic Re: advert1 module misaligned
It's because content the of the advert1 module is in paragraph <p>blah blah...</p> and others are not.
Please Log in to join the conversation.
-
ComProces
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
14 years 5 months ago - 14 years 5 months ago #2730
by ComProces
Replied by ComProces on topic Re: advert1 module misaligned
Thanks for your help Milos
I found that too looking at the source but I can't get rid of the <p> </p>.
Removed formatting in the editor. Edited the HTML code direct but these two don't go away.
This should be done in the module itself, right?
I found that too looking at the source but I can't get rid of the <p> </p>.
Removed formatting in the editor. Edited the HTML code direct but these two don't go away.
This should be done in the module itself, right?
Last edit: 14 years 5 months ago by ComProces.
Please Log in to join the conversation.
-
milos
Support Staff -
- Moderator
-
Less
More
- Posts: 6784
- Thank you received: 720
14 years 5 months ago #2731
by milos
Replied by milos on topic Re: advert1 module misaligned
Probably your WYSIWYG editor assigns <p> automatically. Check the editor plugin's settings. Also, you can enable no-WYSIWYG in Joomla Global configuration.
Alternatively, you can add this css code in template_css.css to avoid paragraph margins:
Alternatively, you can add this css code in template_css.css to avoid paragraph margins:
Code:
div.module-rounded p { margin:0 !important; padding:0 !important; }
Please Log in to join the conversation.
-
ComProces
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
14 years 5 months ago #2732
by ComProces
Replied by ComProces on topic Re: advert1 module misaligned
Yes, that was the problem. Disabled the editor and edited the HTML. That worked!
Thanks Milos!
Thanks Milos!
Please Log in to join the conversation.
Time to create page: 0.186 seconds