Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,954
    Plugin Contributions
    3

    Default Re: an override attempt didn't work

    Very observant! In nearly 3000 lines of code this is indeed a "style" - even though it's the only one!
    Our latest project is Pet Tags.

  2. #12
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,954
    Plugin Contributions
    3

    Default Re: an override attempt didn't work

    This is what I would do to it, however:

    ORIGINAL:
    <span style="font-size:11px; font-family: Arial, Verdana;">

    MY SUGGESTION:
    <span style="paypalwppFont">

    Then, in stylesheet.css

    .paypalwppFont {
    font-size: 12pt;
    color: #000;
    }
    or whatever...
    Our latest project is Pet Tags.

  3. #13
    Join Date
    May 2008
    Posts
    468
    Plugin Contributions
    0

    Default Re: an override attempt didn't work

    In truth, all I want to do is disable the inline styling, and let the defaults take over. To my (layman's) view, it seems that the best thing is just to eliminate it, no?

  4. #14
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,954
    Plugin Contributions
    3

    Default Re: an override attempt didn't work

    If you follow my suggestion above, then you leave yourself the OPTION to do either...

    By giving it its own unique style (and I made an ERROR in the earlier post - see below), you can choose whether to apply a declaration to the style class or not. If you don't then all parent styles will apply.

    CORRECTION:

    <span class="paypalwppFont">
    Our latest project is Pet Tags.

  5. #15
    Join Date
    May 2008
    Posts
    468
    Plugin Contributions
    0

    Default Re: an override attempt didn't work

    Sounds good to me. Thanks again.

  6. #16
    Join Date
    Jun 2005
    Location
    Kelowna, BC Canada
    Posts
    905
    Plugin Contributions
    6

    Default Re: an override attempt didn't work

    This file is not coded well as it does have template information in the module file. I'm not sure if this is a requirement for PayPal compliance, or?? I'm going to open a "code suggestion" for it but I have a feeling they did it for a reason.

    - steven

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Second main_page template possible? Do I attempt an override?
    By witchyweb in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 20 May 2009, 02:14 AM
  2. WTF? Override doesn't work at all
    By nate22 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Nov 2007, 12:39 AM
  3. Override Does not work for me
    By teebee2e in forum Templates, Stylesheets, Page Layout
    Replies: 30
    Last Post: 20 Jun 2006, 05:42 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
  •