Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2008
    Location
    USA, North East
    Posts
    212
    Plugin Contributions
    0

    Default adding second line to shipping module text title

    I too am thankful for you folks making the update to the usps shipping module, which I just installed.
    (I donate once a year-ish to show that appreciation :)

    Anyway, during the update, I tested and noticed a problem. I'm using flat rate clones to allow for some alternative shipping options with minimums. The verbiage I added needs to go to a second line, ie, a carriage return, but it just runs off the screen into other text on a single line. How can I force a break in that verbiage. I'll show below to clarify.

    define('MODULE_SHIPPING_FLATCANADA_TEXT_TITLE', this is where my extra explanatory verbiage goes but it runs off the page when customer views during checkout (how can I force a carriage return or force it to go on a second line as this text just runs on to the right of the page in a single line)');

    Thank You.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,489
    Plugin Contributions
    88

    Default Re: adding second line to shipping module text title

    Within that define, add one or more <br /> statements to "break" that line.

  3. #3
    Join Date
    Dec 2008
    Location
    USA, North East
    Posts
    212
    Plugin Contributions
    0

    Default Re: adding second line to shipping module text title

    I tried, it doesn't work. The info after the break disappears. for example, below, all the wording after <br /> goes away and isn't visible to the customer. ???

    define('MODULE_SHIPPING_FLATCANADA_TEXT_TITLE', this is where my extra explanatory verbiage goes but it runs off the page when customer views during <br /> checkout (how can I force a carriage return or force it to go on a second line as this text just runs on to the right of the page in a single line)');

  4. #4
    Join Date
    Jan 2014
    Location
    Ontario, Canada
    Posts
    252
    Plugin Contributions
    3

    Default Re: adding second line to shipping module text title

    This may work for you in bold:

    define('MODULE_SHIPPING_FLATCANADA_TEXT_TITLE', '<span> This is the exceptionally long legend title line 1 <br /> and this is line two</span>');

    There are other options here that may fit CSS standards:
    http://www.456bereastreet.com/archiv...gend_elements/

    Hope this helps.

  5. #5
    Join Date
    Dec 2008
    Location
    USA, North East
    Posts
    212
    Plugin Contributions
    0

    Default Re: adding second line to shipping module text title

    Wow, it worked! Thank you... now everyone can see the verbiage regardless of screen size!

    Thanks again for making my life easier!

 

 

Similar Threads

  1. Product Title in One line. add (.....) From in line end..
    By jennydutch in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Sep 2014, 09:25 PM
  2. Adding A Second Shipping Table Rate
    By inklingsolutions in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 10 Feb 2010, 04:12 PM
  3. Adding the same line of text to every product in a category.
    By YZ250 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 10 Mar 2009, 07:29 AM
  4. Adding a blank line, or Text line only
    By drhiii in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Nov 2008, 10:46 PM
  5. Adding a line of text to packing slip
    By Big_Woody in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 31 Oct 2007, 10:16 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR