Thread: BR problem

Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2010
    Location
    Battle Ground, WA
    Posts
    273
    Plugin Contributions
    1

    Default BR problem

    On my products listing pages, I have too much space between the price and the title.

    In firebug I change:

    Code:
    </div><br>$10.00<br><br>
    to:

    Code:
    </div>$10.00<br><br>
    and everything works perfectly.

    I've pretty much dug through my entire site and cannot find that <br> or <br />!!!!

    Can anyone help?
    This the page where I'm trying to make the change.

  2. #2
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: BR problem

    Look for
    h3.itemTitle {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 0.1em;
    margin-top: 0.1em;
    }
    in your stylesheet.css, and change it to
    h3.itemTitle {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: -20px;
    margin-top: 0.1em;
    }

    Or you can check for the <br />s on your product_listing.php file in
    /includes/modules/YOURTEMPLATE/product_listing.php
    If you don't have it in YOURTEMPLATE, then copy it from the default, and put it in there.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,879
    Plugin Contributions
    96

    Default Re: BR problem

    You could just "not display" the offending <br />'s using your stylesheet.css file; just add (towards the bottom of the file):

    Code:
    #productListing .listingDescription+br {
      display: none;
    }
    That tells the browser that any <br /> tags that directly follow a tag with the class of listingDescription contained in a tag with the ID of productListing should not be displayed

  4. #4
    Join Date
    Jul 2010
    Location
    Battle Ground, WA
    Posts
    273
    Plugin Contributions
    1

    Default Re: BR problem

    Thanks keneso it worked!

    Thanks to lat9 too, It worked too!
    Last edited by dddmx3; 20 Feb 2011 at 06:38 PM.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 16 Apr 2012, 08:05 PM
  2. UPS xml problem. Anybody else have this problem?
    By FrantzArt in forum Addon Shipping Modules
    Replies: 0
    Last Post: 2 Mar 2012, 11:10 PM
  3. Download Link Problem & Gift Card Problem too...
    By Miss Tiina in forum General Questions
    Replies: 2
    Last Post: 14 Mar 2009, 03:58 PM
  4. Customer said had problem creating account-dob problem
    By wtashby in forum General Questions
    Replies: 5
    Last Post: 1 Sep 2008, 11:38 AM
  5. Problem with Navigation In IE below 7.0! Minor Problem, need help!
    By bajanboost in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Aug 2007, 04:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg