test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • jamjodesign Friend
    #150176

    Hi all, I need some help with the following issue – I created the attached png which is actually a see-through png of text sitting on then a blue sky background image.

    You will see under the “W” and around the “W” there is a slight dotted line like a tear which is not showing up in firefox and IE and only shows up in Chrome and Safari? I am referencing this png in the CSS and I am just wondering if this is a CSS issue and if anyone has any advice on how to solve this rendering issue in chrome and safari? :confused:

    This is not a problem with the theme and just a part I am adding to the theme :-[

    Any help much appreciated.


    1. png-issue
    Saguaros Moderator
    #339542

    Dear jamjodesign!

    I saw the image attached, but i still see a short description bellow the “W” character, it ‘s showing up on all browsers on my computer ( firefox, chrome, safari… etc), the font-size of the text is so small, i could not read it :(, you try to make the bigger font-size for it and increase the quality of the image

    May be the problem will be fixed on your computer

    Good luck

    jamjodesign Friend
    #339574

    Thanks for reply this help me alot – now I know what is wrong. I was wondering if anyone knew the correct way to set font size to 0% in safari and chrome css? Basically I want to do this as I only want text to come in on the right navigation of the slide show and therefore on the left I want the font size to be zero!!

    Saguaros Moderator
    #339973

    Dear jamjodesign!

    Here is the solution:
    1) please open the file templatesja_oreslibsja.template.helper.php and find the following code:
    [PHP]function browser () {[/PHP]
    and replace:
    [PHP]
    function get_user_browser()
    {
    $u_agent = $_SERVER[‘HTTP_USER_AGENT’];
    $ub = ”;
    if(preg_match(‘/MSIE/i’,$u_agent))
    {
    $ub = “ie”;
    }
    elseif(preg_match(‘/Firefox/i’,$u_agent))
    {
    $ub = “firefox”;
    }
    elseif(preg_match(‘/Safari/i’,$u_agent))
    {
    $ub = “safari”;
    }
    elseif(preg_match(‘/Chrome/i’,$u_agent))
    {
    $ub = “chrome”;
    }
    elseif(preg_match(‘/Flock/i’,$u_agent))
    {
    $ub = “flock”;
    }
    elseif(preg_match(‘/Opera/i’,$u_agent))
    {
    $ub = “opera”;
    }

    return $ub;
    }

    function browser () {
    [/PHP]

    2) and open the templatesja_oreslayoutsblockshead.php file and find the following code at line 77:
    [PHP]
    .main {width: <?php echo $this->getParam(‘tmplWidth’, ‘auto’, true); ?>;}
    #ja-wrapper {min-width: <?php echo $this->getParam(‘tmplWrapMin’, ‘auto’, true); ?>;}
    [/PHP]
    and replace:
    [PHP]
    .main {width: <?php echo $this->getParam(‘tmplWidth’, ‘auto’, true); ?>;}
    #ja-wrapper {min-width: <?php echo $this->getParam(‘tmplWrapMin’, ‘auto’, true); ?>;}

    <?php if( $this->get_user_browser() == ‘safari’ || $this->get_user_browser() == ‘chrome’ ) : ?>
    .mystyle {
    font-size:1%!important
    }
    <?php endif; ?>
    [/PHP]

    note: example for overriding the mystyle css rule

    Goodluck

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Saguaros 14 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum