SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Zealot
    Join Date
    Feb 2012
    Location
    US
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Trouble with icon font

    I have used an icon font from Keyamoon on a few sites now. But I noticed on my one site with SSL, the icons show up fine in the table but once I cross over to the https:// side, if I back track the icons dissappear. The font dev said it's because the css is not being loaded. How is that possible when its in the main stylesheet? Anything I can do to prevent this?
    See here... http://www.hostingwebsbest.com/sharedhosting.php
    Messed up- https://www.hostingwebsbest.com/sharedhosting.php

  2. #2
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,533
    Mentioned
    62 Post(s)
    Tagged
    2 Thread(s)
    The latest release version of FF renders both pages identically, but IE8 renders the https page without css styling.

    Guessing that it might be a "security feature" in IE, but that's just a guess.

    Anyone else?

  3. #3
    SitePoint Zealot
    Join Date
    Feb 2012
    Location
    US
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am using FF latest and it still does it. If you go to the hosting packages page and click to order, get.to the cart, then return to the package page, then the css for the font isnt picked up.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,207
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Try removing the base element on the https page:

    Code:
    <base href="https://www.hostingwebsbest.com/">
    I'm not sure that has much value these days anyway, but having the http version as the base on an https page surely is wrong.

  5. #5
    SitePoint Zealot
    Join Date
    Feb 2012
    Location
    US
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ralph,
    I removed it and that did work. This was a template for the WHMCS billing software. In the header was this code...
    HTML Code:
    {if $systemurl}<base href="{$systemurl}" />{/if}
    I know that in WHMCS it asks for the system url and WHMCS SSL System URL. This base tag doesn't tie the website to the software does it? What is the purpose of it?

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,207
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by satori83 View Post
    This base tag doesn't tie the website to the software does it?
    I'm pretty sure it won't be. It's a standard HTML element, but it doesn't seem to have a lot of point to me. I never use it, anyway.

    Edit:

    Jeesh, I could have sworn that the base element URL on the SSL page read http:// rather than https://, but that's not how I copied it above, so I must have been blind! How odd. Anyhow, I'm glad removing it worked ... though perhaps not for the reasons I assumed.

  7. #7
    SitePoint Zealot
    Join Date
    Feb 2012
    Location
    US
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cool, thanks Ralph. I have seen people use /whatever in their links before, and I don't recall seeing that base element. Your right, seems pretty useless!


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
  •