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 March 21st, 2011, 05:29 PM
feri feri is offline
 
Join Date: Oct 2010
Posts: 74
Default Sorting products - CSS problem

Hi,
I have added the stock code of sorting fields to my category pages.
Code:
<div class="dffltrs">
  <form method="get">
    <span class="dflside">
      Products per page:
      <?php echo datafeedr_tools()->form_select("ppp",
        array(
        "12" => "12",
        "24" => "24",
        "36" => "36",
        "48" => "48",
        )); ?>
    </span>
    <span class="dfrside">
      Sort by:
      <?php echo datafeedr_tools()->form_select("sort",
        array(
        "price"   => "Price (low to high)",
        "-price"   => "Price (high to low)",
        "name"     => "Product Name (a - z)",
        "-name"   => "Product Name (z - a)",
        )); ?>
      <input type="submit" value="Go" class="dfsbmt" />
    </span>
    <div class="clearingdiv">&nbsp;</div>
  </form>
</div>
I enabled override, so it works, but the GO button breaks out of the DIV. I looked at the code, it calls for class="dfsbmt" but there is no such class in the CSS code. I tested in Firefox, Safari and Camino on Mac. Same error. See the attachment.

Click image for larger version

Name:	screenshot-5.jpg
Views:	156
Size:	14.9 KB
ID:	386
  #2  
Old March 21st, 2011, 06:37 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

What is your site's URL?
Quote:
Originally Posted by feri View Post
it calls for class="dfsbmt" but there is no such class in the CSS code.
Not all classes have code for them. It's for you to assign your own code to.
  #3  
Old March 22nd, 2011, 02:48 AM
feri feri is offline
 
Join Date: Oct 2010
Posts: 74
Default

Sent you a PM.
  #4  
Old March 22nd, 2011, 08:17 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

If you add the following code to your Custom CSS area ( The Factory > Your Store > Store menu > Custom CSS) and the update your store, it should fix the conflict between the theme and datafeedr:

Code:
.format_text input.dfsbmt
{
	padding: 0;
	width: 30px;
	margin-left: 5px;
}
  #5  
Old March 22nd, 2011, 08:24 AM
feri feri is offline
 
Join Date: Oct 2010
Posts: 74
Default

Works great, thank you!

So it was Thesis again...
  #6  
Old March 22nd, 2011, 08:25 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Just a conflict in CSS between Datafeedr and Thesis. Could happen with any theme.
  #7  
Old March 22nd, 2011, 08:32 AM
feri feri is offline
 
Join Date: Oct 2010
Posts: 74
Default

Of course, thanks again
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Autosubmit of category sorting resets other query variables ayorofrance Questions 9 June 8th, 2011 08:11 AM
Can I change sorting template to sort like the Price Widget Filter? cashnow Questions 2 January 30th, 2011 02:26 PM


All times are GMT -5. The time now is 01:18 AM.


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