Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,819
    Plugin Contributions
    124

    xhtml problem Use of <b> or <strong> in define pages

    I have noticed that although the default define_main_page.php file includes the text:

    <p><strong>NOTE: Always backup the files in<code> /languages/english/html_includes/your_template</code></strong></p>

    That the strong tag is not respected (i.e. the statement does not show up bolded when using the default template).

    In fact, I believe none of the HTML markup is respected, although it is preserved (you can see it when you do a view source; it's not like it is stripped out as a security measure or something like that).

    So can any of the CSS gurus on this forum tell me how to fix this?
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #2
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Use of <b> or <strong> in define pages

    Both tags were respected in the stock default code.

    Not sure if the CSS is stock or custom but <b> or <strong> are html tags and have nothing to do with CSS unless one adds a declaration to override like so

    b {font-weight: normal;}
    strong {font-weight: normal;}
    Last edited by rbarbour; 18 Mar 2014 at 01:51 AM.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,819
    Plugin Contributions
    124

    Default Re: Use of <b> or <strong> in define pages

    I am speculating that there is some css that's disabling this HTML markup. But I'm open to any explanation and fix.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Use of <b> or <strong> in define pages

    I'm not seeing the issue in my stock Zencart test site. The <strong> text does display as bold.

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Use of <b> or <strong> in define pages

    I would have to see the site live to be sure, but some CSS that explicitly nullifies the bolding would be the most likely cause. Is it a vanilla site, or what template is active?

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,819
    Plugin Contributions
    124

    Default Re: Use of <b> or <strong> in define pages

    It seems to be the

    font-size: 62.5%;

    within

    body {

    at the top of the css file. If I go over 70% it works, but not at 62.5%.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Use of <b> or <strong> in define pages

    Quote Originally Posted by swguy View Post
    It seems to be the

    font-size: 62.5%;

    within

    body {

    at the top of the css file. If I go over 70% it works, but not at 62.5%.
    I cannot duplicate the same result for either the default or classic CSS, anywhere from 50-85% retains the weight for both <b> and <strong>

    Do you have a link to site in question?

  8. #8
    Join Date
    Jul 2012
    Posts
    16,751
    Plugin Contributions
    17

    Default Re: Use of <b> or <strong> in define pages

    I will say this, the other night I thought I had totally botched the css on my site, but then when I (using a windows based pc) held the ctrl key and scrolled out, things were restored to the way they were supposed to be. Different situation, I understand, but do things change if you scroll in while continuing to use/try the default template?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Jul 2013
    Posts
    57
    Plugin Contributions
    0

    Default Re: Use of <b> or <strong> in define pages

    Ctrl+Scrolling or Ctr+'+' just zooms in the browser. Ctrl+0 will reset the browser to normal.

    I was experiencing something similar on my site as far as 'bold' items not appearing bold. For me it only happened for smaller text. It had to do with the font [Arial] and the 62.5%. I got rid of the percentage and replaced it with a px value.
    Last edited by k1ra; 19 Mar 2014 at 02:07 AM.

  10. #10
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,819
    Plugin Contributions
    124

    Default Re: Use of <b> or <strong> in define pages

    Bizarre - now it appears that this can only be reproduced on one PC and on my other PC it looks fine.
    I don't have a public site that shows this problem.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Define Pages - how to use wisely ?
    By cpking in forum General Questions
    Replies: 2
    Last Post: 8 Sep 2007, 07:00 PM
  2. Permissions to use define pages editor
    By Clinton14624 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 Jul 2007, 08:06 PM
  3. <strong>Looking Deeper Than The Top 1000</strong>
    By bumba000 in forum General Questions
    Replies: 5
    Last Post: 9 Apr 2007, 01:22 AM
  4. can't use Define Pages Editor
    By yamcart in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 7 Aug 2006, 10:22 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