Forum Replies Created
-
AuthorPosts
-
Hello Ygit,
this did it. Thank you for your help. Site looks perfect now;-) Regards, SusanneHi Rikard, that would be awesome. It really doesn’t look professional now….
Thanks a lot, Susanne.Hi Rikard, hm, that’s strange. I use iOS (Catalina) iPad and on my iPhone in the horizontal view I have the problem also. I checked those Browsers: Chrome, Safari, Firefox. The problem shows in all those browsers. Thanks for your help, Susanne.
Hello Rikard, Ok. thanks. Attached you’ll find the dropbox link. Thanks for your help. Best regards, Susanne
This reply has been marked as private.This reply has been marked as private.Hello Ismael,
oh my…I don’t get it….so you mean put it after the previous code? Or mix it?
Please, could you do this last tweak for me? Thanks a lot, SusanneHello Ismael, yes I removed the Cache – still, it shows the site differently as in the simulator. Very strange…
Tested with Safari. Best regards, Susanne.Hi Ismael,
thank you for your help.
I check on an Apple iPad Air 2. Running with the actual System.
On my iPhone 6, also actual system, it looks perfect. Only the iPad is a problem .
But maybe it is my iPad?
This simulator shows it right:Do you have an explanation for me to understand why it looks right on the simulator but my iPad shows something else?
Thanks a lot, Susanne.- This reply was modified 5 years, 6 months ago by Victoria.
This reply has been marked as private.Hi Ismael,
it did not work- we also tried to combine this code with the one of this link:
https://wordpress.stackexchange.com/questions/114369/excluding-ipad-from-wp-is-mobile
but this caused a shut down of the site (Fatal Error). Fortunately we could restore…
I have the feeling we are tapping in the dark here – can’t you help and put the code directly?
Desperately, SusanneHello, Ismael, thank you for your answer…waht is meant by the first filter? Where can I find it?
Could you just send me the complete code?
Sorry, it is really difficult for me…
Regards, Susanne.Hello, I still could not fix the pronblem with the logo on the tablet landscape and portrait version. The horizontal (alternative) logo still shows on tablet size (porträt & landscape, iOS) – but it should actually be the other one. Or if it is easier to solve this way: Have the top bar with horizontal (alternative) logo and hamburger menu also in tablet portrait & landscape size.
My developer tried to put this code below, but it did not work…. could you place the right code directly on the site if I give you access or give me a custom code that works?
Thanks so much for help, this is the last problem to be fixed!! – Susanne.function wp_is_mobile() {
static $is_mobile;if ( isset($is_mobile) )
return $is_mobile;if ( empty($_SERVER[‘HTTP_USER_AGENT’]) ) {
$is_mobile = false;
} elseif ( strpos($_SERVER[‘HTTP_USER_AGENT’], ‘Mobile’) !== false // many mobile devices (all iPhone, iPad, etc.)
|| strpos($_SERVER[‘HTTP_USER_AGENT’], ‘Android’) !== false
|| strpos($_SERVER[‘HTTP_USER_AGENT’], ‘Silk/’) !== false
|| strpos($_SERVER[‘HTTP_USER_AGENT’], ‘Kindle’) !== false
|| strpos($_SERVER[‘HTTP_USER_AGENT’], ‘BlackBerry’) !== false
|| strpos($_SERVER[‘HTTP_USER_AGENT’], ‘Opera Mini’) !== false ) {
$is_mobile = true;
} else {
$is_mobile = false;
}return $is_mobile;
}Hello Shannon,
it worked, thank you. But now, the horizontal logo also shows on tablet size (porträt & landscape, iOS) – it should actually be the other one??
Or if it is easier to solve this way: Have the top bar with horizontal logo and hamburger menu also in tablet portrait & landscape size
Which solution would you suggest?
Thanks, Susanne.Hello, I used this code and replaced the link in the code with the link of my image. I put the code in the funcions.php file. It doesn’t work. Is this code correct? Can you check please, if there is a mistake somewhere?
add_filter(‘avf_logo’,’av_change_logo’); function av_change_logo($logo) { if(wp_is_mobile() ) { $logo = “http://kriesi.at/wp-content/themes/kriesi/images/logo.png”; } return $logo; }
Thanks,
Susanne.February 19, 2018 at 9:51 am in reply to: Having an issue with background image responsiveness #914174Hey Ismael, thanks for this idea – I inserted another color section and used the picture specifically resized for mobile view and also clicked on “hide on full screen” in the screen options. It works really well.
Regards, Susee.February 17, 2018 at 10:38 am in reply to: Having an issue with background image responsiveness #913603Hello Victoria, I want the big header image on the top of the page to resize on mobile devices….it is set in a color section as background image now…and it would be great if the text would be below the image on mobile (at full screen view it is directly on the image). Thanks, Susee.
Ah, I didn’t know that, sorry, I am pretty new to this all… I tried and then put the code in the quick CSS in the General Styling, but it did not work yet. What do I make wrong?
Thanks, SuseeFebruary 16, 2018 at 10:22 pm in reply to: Having an issue with background image responsiveness #913409Hello, did you find a solution? Can you post the quick css that resizes the image on mobile like Lukerks? Or does it depend on the page?
Thanks for helping, SuseeHello, I have a similar rpoblem. The section background picture in the colorsection should get smaller on mobile (smaller than 479px). I pasted the code above in my style.css but this did not work. Can you help me please?
Thanks, SuseeHello, I think I have a similar problem. I want to use a different Logo in the Header for mobile (smaller than 479 and between 480& 767px). I tried the code suggested above, but this did not work.:
add_filter(‘avf_logo’,’av_change_logo’); function av_change_logo($logo) { if(wp_is_mobile() ) { $logo = “http://kriesi.at/wp-content/themes/kriesi/images/logo.png”; } return $logo; }
How can I make it work?
Thanks, Susee
Hello Jordan,
it worked! Great. Thank you.Hello, I think I have a similar rpoblem. The back to top button/arrow shows only at full screen size. On tablet and mobile version it is not showing or hidden. Do you have some quick css for me to fix this?
Thanks, SusanneHello, thank you for answering. I use PHP 7.1
Hi there, I think I have the same problem, having this error displayed at the bottom of the site. Need help!
Fatal error: Uncaught Error: Call to undefined method aviaShortcodeTemplate::__destruct() in /homepages/3/d719369078/htdocs/app719565835/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/audio-player.php:53 Stack trace: #0 [internal function]: avia_sc_audio_player->__destruct() #1 {main} thrown in /homepages/3/d719369078/htdocs/app719565835/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/audio-player.php on line 53
Also, I cannot work on my pages anymore. They don’t show. At the bottom it says this:
Fatal error: Uncaught Error: Call to undefined method avia_sc_audio_player::get_popup_element_by_id() in /homepages/3/d719369078/htdocs/app719565835/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/audio-player.php:483 Stack trace: #0 /homepages/3/d719369078/htdocs/app719565835/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(442): avia_sc_audio_player->editor_element(Array) #1 /homepages/3/d719369078/htdocs/app719565835/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(491): aviaShortcodeTemplate->prepare_editor_element() #2 /homepages/3/d719369078/htdocs/app719565835/wp-includes/class-wp-hook.php(286): AviaBuilder->js_template_editor_elements(”) #3 /homepages/3/d719369078/htdocs/app719565835/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #4 /homepages/3/d719369078/htdocs/app719565835/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /homepages/3/d719369078/htdocs/app7195 in /homepages/3/d719369078/htdocs/app719565835/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/audio-player.php on line 483
Thanks for quick help!
Susen
-
AuthorPosts