Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Any way of increasing the font size of prices in side and centre boxes?

    Ive seen that the font size/font/colour of the prices in the centre boxes is inherited from the main body text. Is there anyway of making this customizable?

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Any way of increasing the font size of prices in side and centre boxes?

    The issue here is that there is no specific DIV ID given over to the price element in these pages.

    I would imagine that it is possible to delve into the relevant php files and encase these elements in their own DIV, but I am not the person to ask how to achieve this.
    20 years a Zencart User

  3. #3
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Any way of increasing the font size of prices in side and centre boxes?

    This site has styling for the prices, any way of looking at the code though?

    http://www.pasikonik.co.uk/

  4. #4
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Any way of increasing the font size of prices in side and centre boxes?

    Quote Originally Posted by dgent View Post
    This site has styling for the prices, any way of looking at the code though?

    http://www.pasikonik.co.uk/
    A link to the page you are trying to style would be helpful. On the site that you referenced are you speaking about the orange color of the prices that has been styled?

  5. #5
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Any way of increasing the font size of prices in side and centre boxes?

    Hi

    Yes, the orange text on that link I posted.

  6. #6
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Any way of increasing the font size of prices in side and centre boxes?

    The prices change and are stylized when you make an item discounted (strikethrough'd and made red) so somewhere in a template file there is a DIV for this styling. Anyone know where?

  7. #7
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Any way of increasing the font size of prices in side and centre boxes?

    Quote Originally Posted by dgent View Post
    The prices change and are stylized when you make an item discounted (strikethrough'd and made red) so somewhere in a template file there is a DIV for this styling. Anyone know where?
    In the .css
    .priceinnewproducts {
    color: #FF6600;
    }

  8. #8
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Any way of increasing the font size of prices in side and centre boxes?

    Quote Originally Posted by badarac View Post
    In the .css
    .priceinnewproducts {
    color: #FF6600;
    }
    Cheers, but that won't work on its own. It needs a class/div to relate to in the code.

  9. #9
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Any way of increasing the font size of prices in side and centre boxes?

    Quote Originally Posted by dgent View Post
    Cheers, but that won't work on its own. It needs a class/div to relate to in the code.
    The orange text on the site you provided
    http://www.pasikonik.co.uk/ is defined in the css with the statement I provided. What specifically are you trying to do that requires a separate div? Are you doing it on that website? Changing the font definitions in the css provided will only affect the prices in what's new product listings. How much more targeted do you need it?

  10. #10
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Any way of increasing the font size of prices in side and centre boxes?

    Quote Originally Posted by badarac View Post
    The orange text on the site you provided
    http://www.pasikonik.co.uk/ is defined in the css with the statement I provided. What specifically are you trying to do that requires a separate div? Are you doing it on that website? Changing the font definitions in the css provided will only affect the prices in what's new product listings. How much more targeted do you need it?
    Yes it is defined on that site, but somewhere in the code for the centre box is a div or a class that corresponds to that definition in the CSS. You can't just put definitions in a CSS file and hope they will change things, they need to be linked.

    And no, Im not doing it on that website, I picked that as an example as I quoted above. If I had access to that site for instance, I could simply use the developer tool kit in Admin, search for that definition, and it would find the module/template etc that its called from.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 Accessibility - Are there plugins for increasing font-size and contrast?
    By gunni in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 10 Oct 2016, 03:41 PM
  2. Font size, color and style change in side boxes
    By Maynards in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Oct 2010, 03:45 AM
  3. Problem with size of boxes and font within boxes on index page
    By Leacat in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 May 2010, 07:11 AM
  4. Increasing price font size in categories
    By canemasters in forum General Questions
    Replies: 3
    Last Post: 2 Feb 2008, 09:34 PM
  5. Replies: 1
    Last Post: 29 Apr 2007, 07:25 PM

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