How can I be sure that all users from Tablets will be sent to AMP version ?
I mean, when i’m using my tablet, sometimes it’s AMP, sometimes it’s desktop version..
I want only AMP for mobiles et Tablets..
Everything is ok on mobiles.but not on tablets.
Kind regards
Thank you =)
Any idea ?
Hi Maggo,
Can you post screenshots here of your autoptimize config please ?
Thank you !
I’m speaking about sidebar, I used to make my sidebar via appearance -> widgets -> and import widgets as block 18 into my sidebar.
So I have to find a way to make something similar to block 18 and import it into my sidebar.
Block 18 is for me “Recent articles” widget.
-
This reply was modified 6 years by
gumball44.
No changes, with aggregate options deactivated. =/
Hi,
Thank you for your help =), I just have installed Autoptimize, Is possible to get screenshots of your settings Autoptimize in order to fix this problem ?
Kind regards
Hi,
I’m using WP fastest Cache premium, and I found the issue, the problem come from ” Mobile ThemeCreate cache for mobile theme “.
When I deactivate it, everything is ok.
Does WP super cache allow cache for mobile theme without making AMP deployed on tablets ? or Do we have to deactivate too with WP super chache ?
Kind regards
-
This reply was modified 6 years by
gumball44.
The elements are aligned, but my images are not at the right vertical position.. What kind of CSS I need ?
.td-post-template-2 .td-post-featured-image img {
width: 100%;
height: 70%;
}
something similar ?
Thank you
OK thank, I followed your advices https://forum.tagdiv.com/how-to-make-the-site-faster/
1. Enabling Gzip compression
2. Set the Leverage Browser Caching
It works but now I am following this tutorial https://speedrak.com/blog/how-to-move-javascripts-to-the-footer-in-wordpress/
I just have a question, I added this code `// Custom Scripting to Move JavaScript from the Head to the Footer
function remove_head_scripts() {
remove_action(‘wp_head’, ‘wp_print_scripts’);
remove_action(‘wp_head’, ‘wp_print_head_scripts’, 9);
remove_action(‘wp_head’, ‘wp_enqueue_scripts’, 1);
add_action(‘wp_footer’, ‘wp_print_scripts’, 5);
add_action(‘wp_footer’, ‘wp_enqueue_scripts’, 5);
add_action(‘wp_footer’, ‘wp_print_head_scripts’, 5);
}
add_action( ‘wp_enqueue_scripts’, ‘remove_head_scripts’ );
// END Custom Scripting to Move JavaScript`
in functions.php, but I have a child theme. Do I have to put this code in functions.php of my Child Theme ? or in Newspaper theme functions.php ? or Both ?
Thank you
Yep sorry I was wrong
Perfect thank you
It doesn’t work, I made my header with Tagdiv composer.
.tds-button3:before {
content: '';
background-color: #fff;
width: 100%;
height: 100%;
left: 0;
top: 0;
position: absolute;
z-index: -1;
opacity: 0;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
transition: all 0.2s ease;
}
-
This reply was modified 6 years by
gumball44.
.tds-button3 {
color: #000;
background-color: #fff;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
z-index: 0;
}
The smooth transition effect on button as on .tds-button3, between normal and hover. I don’t want my buttons to shine so fast. I hope you understand my request.
What template number do you use ?
Ok I found the way to make a rectangle 661px*463px, but I would like to keep the proportions.
So how can i cut the bottom of my image (611-463 = 148px) ? thank you
here the code i’m using now
.td-post-template-2 .td-post-featured-image img {
width: 661px;
height: 441px;
}
-
This reply was modified 6 years by
gumball44.
I would like a rectangle 661px*463px
Ok I can now reduce the size, can’t change the form.. It is still a square.. I don’t know why..
I’m using the default footer and sub-footer, I think I found the issue, It looks like an z-index issue ?
with or without footer shadow, the issue is still here.. Can’t see the shadow from subfooter on footer.
perfect !Thank you 🙂
.td-sub-footer-container {
box-shadow: 0px 0px 4px #000;
}
I try this code in order to add shadow on sub footer, but it doesn’t work =/.
Any ideas ?
Thank you
-
This reply was modified 6 years by
gumball44.
ok, so how can it be remove ?
and how to block it to be loaded, with css ?
Thank you
-
This reply was modified 6 years by
gumball44.