-
AuthorPosts
-
March 23, 2019 at 4:30 am #1082068
Hi,
Please try this css and check that it doesn’t cause issues on other pages. If it does we can adjust it so it works on this one page.@media only screen and (max-width: 767px) { #top #main main.content { padding-top: 0px !important; } #top #main .empty_title.title_container { height: 40px !important; } }
Please see the screenshot in Private Content area.
Best regards,
MikeMarch 24, 2019 at 1:12 pm #1082229done, it looks like the code works ..
look at the link below,
I need to perfect the bredcrumbs .. I get this error by the way:
I need to be large enough (48x48px), and have enough space around me, to be easy enough to tap without overlapping onto other elementsIs it possible to adjust the bredcrumbs so that they satisfy this request?
Best regards,
Sacha- This reply was modified 5 years, 8 months ago by Marco.
March 24, 2019 at 4:28 pm #1082252Hi,
If I understand your request correctly, you want the breadcrumb items to have a 48px padding top & bottom for mobile so it can be clickable.
Unfortunately for mobile, this blows up the breadcrumbs to take over 330px in height, which is quite large. I was able to give it a compromise of 6px that will still fit in the same area and give it some space, if your breadcrumbs were less then 48px might be reasonable. In my experience, when I click on a group of links on my mobile device, my device zooms in a little to allow me to choose the link I want to click. But I’m using Android. I also, as a user, don’t look to breadcrumbs as a navagation tool, typically there are other links on a page that points to where I wish to go. So I submit that what you are seeing is not a error, but a suggestion. But this is up to you.
Please try this css for the 6px size on mobile:@media only screen and (max-width: 767px) { .breadcrumb-trail a,.breadcrumb span { margin-top: 6px !important; margin-bottom: 6px !important; } }
Please compare it with this css for 48px:
@media only screen and (max-width: 767px) { .breadcrumb-trail a,.breadcrumb span { margin-top: 48px !important; margin-bottom: 48px !important; } .title_container { min-height: 332px !important; } }
Please use the url in the Private Content area to test with.
I know we are in different languages, so I hope you understand that I’m only trying to help :)Best regards,
MikeMarch 27, 2019 at 10:43 pm #1083815Hi Mike,
After your reply, I shose to take a time to make this improvment..
in mentime i try to change browser top bar color :
I find this code:
function custom_hook() {
$ color = “# ef6c86” ;
// questo è per Chrome, Firefox OS, Opera e Vivaldi
echo ‘<meta name = “theme-color” content = “‘ . $ color . ‘”>’ ;
// Windows Phone **
echo ‘<meta name = “msapplication-navbutton-color” content = “‘ . $ Color . ‘”>’ ;
// iOS Safari
echo ‘<meta name = “compatibile con apple-mobile-web-app” content = “yes”>’ ;
echo ‘<meta name = “apple-mobile-web-app-status-bar-style” content = “black-translucent”> ” ;}
add_action( ‘wp_head’, ‘custom_hook’ );but it does not run
Can you help me?Many thanks,
Sincerly
SachaMarch 28, 2019 at 4:21 am #1083905Hi,
I have not seen this before but my research finds that it only works for mobile Android devices The code you posted was broken, try using the code at the link above. But I also see that it is from 2016 so I don’t know if it still works, but I can’t test it on my desktop and it is outside of our support scope since it is not for the theme or website.
Perhaps this plugin would work better: Mobile Address Bar ChangerBest regards,
MikeMarch 28, 2019 at 8:29 am #1083955693/5000
hello Make!
the code you linked to is exactly what I found, and tried.
I entered it in the “appearance-editor” of the child theme, but there is a syntax error on the first line … so I haven’t been able to test it yet because when I insert it wordpress it blocks me warning me of the error.
I’m not a programmer, and I can’t find any mistake.
I would not install another plugin.
do you know just check the code for errors?
I understand that it’s slightly out of your skills, but I’ve read everywhere that it’s a very simple thing …
I wouldn’t want to hire a developer just for that.
I hope this educated also helps me.
Thank you!March 29, 2019 at 5:04 am #1084461Hi,
If you use the “final code” on the page above, please ensure you are not adding the first line with the ?php
you would use this:function address_mobile_address_bar() { $color = "#008509"; //this is for Chrome, Firefox OS, Opera and Vivaldi echo '<meta name="theme-color" content="'.$color.'">'; //Windows Phone ** echo '<meta name="msapplication-navbutton-color" content="'.$color.'">'; // iOS Safari echo '<meta name="apple-mobile-web-app-capable" content="yes">'; echo '<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">'; } add_action( 'wp_head', 'address_mobile_address_bar' );
Other than that it looks right and doesn’t cause an error on my localhost, but I’m unable to test beyond that. If this still doesn’t help try Googleing for alternatives.
Sorry that I couldn’t be of more assistance.PS: Have you tried Upwork.com ?
I bet you could hire someone for $5 to do this.Best regards,
MikeApril 1, 2019 at 6:37 pm #1085649Hello Mike,
How are you?
i have a Problem with the tag title onn the image in the page, linked in private…
is the only page that gives that problem and I don’t understand why.
Could you give us a check?
Thank you !!Sincerly,
SachaApril 2, 2019 at 4:19 am #1085809Hi,
@Sachasilvestri, I see that the titles end with “undefined” I believe this is because the script was getting some info from the social app plugin at the bottom of each page, I believe it was the page title, but I don’t see it on this page, please try adding it.Best regards,
MikeApril 2, 2019 at 7:32 am #1085898Hello Mike,
Exat You have reason,
now it run!
Best regards!
SachaApril 3, 2019 at 2:22 am #1086288Hi,
I believe you are saying that you tried adding it and now it is working.
That’s great. This thread is getting quite long now, perhaps we should close it now and if you have any other issues you can open a new thread?Best regards,
MikeApril 3, 2019 at 6:45 am #1086367Yess, ok,
Well Done.
Thanks Mike
i will open other thread.
SincerlySacha
April 3, 2019 at 1:11 pm #1086512Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Picture and text zoom on smartphone’ is closed to new replies.