swissdrago
Forum Replies Created
-
Hi Efe, on our German site, I removed the coding and simply fixed the position of the icons with some CSS for mobile devices like this:
@media only screen and (max-width: 650px) and (min-width: 0px) { #sfsi_plus_floater { position: fixed !important; top: unset !important; } }
It’s available on https://www.liebesschaukel.ch if you want to check.
I think that will do the job, what is your opinion?
In case you also think that’s fine, I will do the same for the English site https://lonesome-dragon.com and we could close this ticket.
Many regards, thanks again- This reply was modified 8 months, 4 weeks ago by swissdrago.
- This reply was modified 8 months, 4 weeks ago by swissdrago.
Hi Efe, thanks for the adjustment.
I was confused, because with this, sometimes it worked, sometimes not. On some pages it worked, on the others not.
Finally I found out, that wp_is_mobile does not work properly with page caching systems (which we do use).
Reason: the cache will contain mobile OR desktop version, depending on what device the first request was made from. All further requests will be served with this version, no matter what device type it is.
What about just restricting the code with the fixed icons positioning for mobile devices using CSS? Something like:
@media (max-width: 480px)
What do you think?Sorry for keeping you so busy with this, thanks a lot!
Hi Efe, thanks for your answer. I made a short video clip where I reloaded the page four times. You can see that after each load, the icons are shifting a little bit to the left to the final position.
Since this only happens on desktop browsers (e.g. Windows Firefox and Chrome), it might be the best solution to restrict the coding that you sent to be applied on mobile screen size only (CSS), what do you think? With this, we even could keep the floating effect on desktop computers (which is lost with the fixed position of the icons with the coding you sent).
Here comes the video clip: https://lonesome-dragon.com/download/social_media_icons.mp4
Thank you so much and have a great dayHi Efe, wow thank you so much! You guys are wizards!
Well, now the icons are not floating anymore but fixed, but if this is the only possibility, that’s much better than before anyways and I’m very happy with it. Or maybe we could restrict the coding only for mobile view (the issue was only with the iPhone)?
One remark (but no real issue): now with the new coding, on PC desktop browsers (at least using Firefox and Chrome), when loading a page the icons will first be placed and then shifted a little bit to the left. I guess it has to do with the sequence when our settings with the left alignment of -15px are considered during the positioning of the icons.
If the coding would be restricted to mobile views, also this “left shift” after loading on desktop browsers would be solved and we could keep the floating as it was before for desktop users.
What do you think?
Thanks again and have a great day!- This reply was modified 9 months ago by swissdrago.
Hi Efe, thanks for your kind and quick reply.
Since we are using the free plugin but love it so much (and don’t want to switch to another plugin), we are happy to pay something for the fix.
Just in case my explanation is not clear, here’s a screenshot: https://lonesome-dragon.com/download/temp.jpg
Thanks a lot for checking – and if you need more information in the meantime, please just let me know.
Have a great day, thanks again!
WolfgangForum: Plugins
In reply to: [Widgets for Google Reviews] Translation of ReviewsThanks for the clarification, I understand.
But well, you was not supposed to translate the reviews – Google is already doing it and the reviews could be fetched in different languages.
The former review plugin that I used did this (but unfortunately it had other issues, so I switched to Trustindex now).
But thanks anyways for the clarification about the meaning of the language option, now I understand.
Have a great day and keep up the great workForum: Plugins
In reply to: [WP Fastest Cache] HTML and CSS not minifiedOh, so all it is doing is moving all the tags to the left? Sad… I was hoping for a way to minimize the page source more ??
Forum: Plugins
In reply to: [WP Fastest Cache] HTML and CSS not minifiednow you are kidding me, right? Where is here a minification?
There’s no difference in this html and CSS between the “WP fastest cache” version and the original version.Forum: Plugins
In reply to: [WP Fastest Cache] HTML and CSS not minified- This reply was modified 1 year, 4 months ago by swissdrago.
Forum: Plugins
In reply to: [WP Fastest Cache] HTML and CSS not minifiedyes, I know; that’s what I meant with “separate css files”. But again the initial question:
Why all the css and html within this page is not minified? Or did I misunderstand the functionality and only separate css files are minified? But what about the html and the css within the page?Forum: Plugins
In reply to: [WP Fastest Cache] HTML and CSS not minifiedHi, thanks for your answer. Well, actually I’m not logged in at all with the testing browsers, but indeed, with the incognito mode the page “only” has 3588 lines instead 4053 lines (and the “success” text is shown at the end).
But still I’m wondering why all the css and html within this page is not minified. Or did I misunderstand the functionality and only separate css files are minified? But what about the html and the css within the page?
Thanks againForum: Plugins
In reply to: [WP Google Review Slider] Reviews stored with date 1970-01-01 00:00:00Update: today I deleted this review and fetched the reviews again. Now it’s coming with the correct date.
So it might either have something to do with the date shift between Europe and US or it’s just a glitch with very new reviews.Forum: Plugins
In reply to: [WP Google Review Slider] Reviews stored with date 1970-01-01 00:00:00P.S. I already deleted this particular review a couple of times and fetched it again, but it always comes in with the date of 1970-01-01
Forum: Plugins
In reply to: [Casper's Leave Notice] Translation with WPMLI made it, yeah! It was easier than I thought. I just had to wrap each of the two strings within a __() function as described here:
https://wpml.org/documentation/support/enabling-text-translation-for-themes-not-compatible-with-wpml/With this, now also these two texts could be translated like a charm using WPML.
Forum: Plugins
In reply to: [Casper's Leave Notice] Translation with WPMLHi Casey, the solution is actually very simple (for a pro like you, but not for me).
As far as I understand, the two texts in the PHP must be simply wrapped in a gettext function where you’ve defined the text domain and the text. _e(‘my-string’,’text-domain’); as also described here:https://wpml.org/documentation/support/translating-the-theme-you-created/
Do you see any chance to adjust the PHP coding in caspers-leave-notice.php accordingly?
We will be happy to pay for this.
Thank you so much for your support and have a nice day,
Wolfgang