-
AuthorPosts
-
7of9 Friend
7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
October 14, 2015 at 3:09 pm #705070Hi,
At Google PageSpeed Insights for mobile, the is a User Experience problem. In more detail:
Size tap targets appropriately
Some of the links/buttons on your webpage may be too small for a user to easily tap on a touchscreen. Consider making these tap targets larger to provide a better user experience.
The following tap targets are close to other nearby tap targets and may need additional spacing around them.The tap target <a href=”javascript:;” class=”dropdown-toggle”></a> is close to 1 other tap targets.
The tap target <a href=”/shop/my-basket/view”>Go to cart</a> is close to 1 other tap targets.You can check it for yourseft at: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.ts-bee.com%2F
Could you please provide a fix for this?
Thanks in advance.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 15, 2015 at 3:43 am #705205Hi
It looks like you already customised in style of this template. The link in above report:
<a href=”/shop/my-basket/view”>Go to cart</a>
is ‘Go to cart’ link when you tap the cart button.
By default, the dropdown menu (which includes this link) is hidden, it shows only when you tap the cart button to open. But at this moment, it always opens on your site and of course the google insights notices above message.
Below is default css style for this button:
#mycart .dropdown-menu {
display: none;
opacity: 0;
right: 0;
transition: none 0s ease 0s ;
}#mycart.open .dropdown-menu {
display: block;
opacity: 1;
right: 0;
}
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 15, 2015 at 3:43 am #751756Hi
It looks like you already customised in style of this template. The link in above report:
<a href=”/shop/my-basket/view”>Go to cart</a>
is ‘Go to cart’ link when you tap the cart button.
By default, the dropdown menu (which includes this link) is hidden, it shows only when you tap the cart button to open. But at this moment, it always opens on your site and of course the google insights notices above message.
Below is default css style for this button:
#mycart .dropdown-menu {
display: none;
opacity: 0;
right: 0;
transition: none 0s ease 0s ;
}#mycart.open .dropdown-menu {
display: block;
opacity: 1;
right: 0;
}
7of9 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
October 16, 2015 at 5:55 pm #705524Hi @saguaros ,
Thanks for your reply.
No I haven’t customized this. If you check the URL: ts-bee.com
The problem started when I added the cart module to the home page, since the home page is replaced with the list of the Joomshopping products.
You will see that the dropdown is not shown, unless you click on it. Most probably Googlebot clicks on it and sees that it conflicts with the content underneath.
I think same problem happens here, when I check the Joomlart demo page: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fja-fixel.demo.joomlart.com%2Findex.php%2Fen%2FshopAny ideas?
Thanks for your help.
7of9 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
October 16, 2015 at 5:55 pm #751957Hi @saguaros ,
Thanks for your reply.
No I haven’t customized this. If you check the URL: ts-bee.com
The problem started when I added the cart module to the home page, since the home page is replaced with the list of the Joomshopping products.
You will see that the dropdown is not shown, unless you click on it. Most probably Googlebot clicks on it and sees that it conflicts with the content underneath.
I think same problem happens here, when I check the Joomlart demo page: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fja-fixel.demo.joomlart.com%2Findex.php%2Fen%2FshopAny ideas?
Thanks for your help.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 18, 2015 at 11:40 am #705708The cart is displaying above an item so it notices that message, you can change in css:
#mycart {
position: absolute;
right: 0;
top: 100px;
}
*change value for ‘right’ and ‘top’ properties so that it moves near top of page.
P/s: if you want to apply css for mobile only, you can try with media queries
1 user says Thank You to Saguaros for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 18, 2015 at 11:40 am #752039The cart is displaying above an item so it notices that message, you can change in css:
#mycart {
position: absolute;
right: 0;
top: 100px;
}
*change value for ‘right’ and ‘top’ properties so that it moves near top of page.
P/s: if you want to apply css for mobile only, you can try with media queries
1 user says Thank You to Saguaros for this useful post
7of9 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
October 19, 2015 at 1:46 pm #705902Thanks @saguaros ,
However, despite by best efforts, the cart simply does not fit in the small screen of a mobile. (According to Google’s user experience rules.)
I think it would be best to do the following, only for the mobile size. (please let me know if it is possible):
1. Move the cart icon at the right of the top menu.
2. On click on the cart icon, do not open the drop down, but take us directly to the cart page.Thanks in advance.
7of9 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
October 19, 2015 at 1:46 pm #752168Thanks @saguaros ,
However, despite by best efforts, the cart simply does not fit in the small screen of a mobile. (According to Google’s user experience rules.)
I think it would be best to do the following, only for the mobile size. (please let me know if it is possible):
1. Move the cart icon at the right of the top menu.
2. On click on the cart icon, do not open the drop down, but take us directly to the cart page.Thanks in advance.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 20, 2015 at 3:32 am #705970This block in header of your site call cart module:
<?php if($this->countModules('mycart')): ?>
<div class="row">
<div id="mycart" class="dropdown pull-right">
<a class="dropdown-toggle" data-toggle="dropdown" href="javascript:;"><i class="icon-shopping-cart"></i></a>
<div class="dropdown-menu">
<jdoc:include type="modules" name="<?php $this->_p('mycart') ?>" style="raw" />
</div>
</div>
</div>
<?php endif; ?>
this will be loaded in all view ports (desktop, mobile) so you will need to find the way to check whether is mobile or desktop layout to load associated content.
For the link, you can remove the data-toggle above and add with
href=”<?php print SEFLink(‘index.php?option=com_jshopping&controller=cart&task=view’, 1)?>”
this will help to redirect to cart instead of dropdown.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 20, 2015 at 3:32 am #752236This block in header of your site call cart module:
<?php if($this->countModules('mycart')): ?>
<div class="row">
<div id="mycart" class="dropdown pull-right">
<a class="dropdown-toggle" data-toggle="dropdown" href="javascript:;"><i class="icon-shopping-cart"></i></a>
<div class="dropdown-menu">
<jdoc:include type="modules" name="<?php $this->_p('mycart') ?>" style="raw" />
</div>
</div>
</div>
<?php endif; ?>
this will be loaded in all view ports (desktop, mobile) so you will need to find the way to check whether is mobile or desktop layout to load associated content.
For the link, you can remove the data-toggle above and add with
href=”<?php print SEFLink(‘index.php?option=com_jshopping&controller=cart&task=view’, 1)?>”
this will help to redirect to cart instead of dropdown.
-
AuthorPosts
This topic contains 11 replies, has 2 voices, and was last updated by Saguaros 9 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum