-
AuthorPosts
-
jamjodesign Friend
jamjodesign
- Join date:
- June 2008
- Posts:
- 432
- Downloads:
- 27
- Uploads:
- 40
- Thanks:
- 59
- Thanked:
- 14 times in 3 posts
April 6, 2010 at 1:50 pm #150176Hi 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.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 8, 2010 at 2:16 am #339542Dear 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 Friendjamjodesign
- Join date:
- June 2008
- Posts:
- 432
- Downloads:
- 27
- Uploads:
- 40
- Thanks:
- 59
- Thanked:
- 14 times in 3 posts
April 8, 2010 at 8:07 am #339574Thanks 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 12, 2010 at 2:21 am #339973Dear 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
AuthorPostsViewing 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
png issue in chrome and safari
Viewing 4 posts - 1 through 4 (of 4 total)