Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Problems
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 10th, 2011, 06:19 PM
patagonia patagonia is offline
 
Join Date: May 2009
Posts: 506
Default Is there a hardcoded clearingdiv?

On my category page on the live website, I have a big gap between the description text and the pagination beginning.

In the html output code, I see there is:
PHP Code:
<!-- /Category Description --> 
</
p
<
div class="clearingdiv">&nbsp;</div
</
div
<
div class="modcont" 
<!-- 
Pagination Links (Top) --> 
A clearingdiv between the two. I can not see this anywhere in the module code to be able to delete it. Is it hard coded somewhere?

Can we please have it removed, or please advise how to remove, as the gap between my text and products is toooo big.
  #2  
Old January 10th, 2011, 07:35 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Can you please share the link to the page where the gap appears? Clearing divs cannot be deleted because they actually control columns. But I doubt it's the clearing div as they have a height of 0.
  #3  
Old January 10th, 2011, 08:37 PM
badm00n badm00n is offline
 
Join Date: Oct 2010
Posts: 39
Default

I have that gap too.. it happens when there is a child category without any subcatgories under it. It leaves an empty modcont div with just a clearingdiv inside.
  #4  
Old January 10th, 2011, 08:40 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Quote:
Originally Posted by badm00n View Post
I have that gap too.. it happens when there is a child category without any subcatgories under it. It leaves an empty modcont div with just a clearingdiv inside.
Can you post a link to this so I can see it?
  #5  
Old January 10th, 2011, 08:50 PM
patagonia patagonia is offline
 
Join Date: May 2009
Posts: 506
Default

I just sent a PM with the url in it (sorry don't want to post link here)
  #6  
Old January 10th, 2011, 09:25 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi
Quote:
Originally Posted by patagonia View Post
On my category page on the live website, I have a big gap between the description text and the pagination beginning.
This could be tweaked by applying the following styles to your Custom CSS.

Code:
#view .modwrp .modcont
{
	margin: 0 10px 0 0;
	padding: 5px;
}

#view .pgr { margin: 0px 0 5px 0; }
You could even tweak the padding: 5px; value a little, maybe make it 3px or something like that.

Quote:
Originally Posted by badm00n View Post
I have that gap too.. it happens when there is a child category without any subcatgories under it. It leaves an empty modcont div with just a clearingdiv inside.
Your site could also use this:
Code:
#view .modwrp .modcont
{
	margin: 0 10px 0 0;
	padding: 5px;
}

#view .pgr { margin: 0px 0 5px 0; }
But you also have an empty <p> tag under your category title. It's "waiting" for a category description but since there is no category description, it takes up extra space. To remove the extra <p> tag, you can find that here: Factory > YOUR STORE > VIEWS > CATEGORY PAGE > Default > Text module.

Also, all modules will take a CSS ID. So if you want to style a specific .modcont area, give it an ID and then you will be able to easily target that module content area with some CSS code written specifically for that area.

Eric
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:32 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.