Tagged: x
-
AuthorPosts
-
March 24, 2016 at 10:15 pm #851878
Hey Guys,
a couple of issues with 4professor.com on mobile.the section background images arens resizing (example- 4professor.com/heating), and the headlines arent centered (example: “heating, cooling, electrical & Plumbing Experts” on the home page.
Please help
Thanks
DMarch 24, 2016 at 10:18 pm #851879This reply has been marked as private.March 24, 2016 at 11:28 pm #851948Hi There,
Thanks for writing in! Please read this posts:
– https://community.theme.co/forums/topic/background-image-on-phone/#post-780991
You can place the CSS attribute
background-size: contain;
orbackground-size: 100% 100%;
directly to the STYLE field of the section, and see which property suits your needs.If none of this property works well with your background, then we need to do the last method mentioned on that first post.
Those headings are centred please confirm this issue.
Hope it helps, Cheers!
March 26, 2016 at 6:31 pm #853722it looks fine on desktop. crappy on mobile
March 26, 2016 at 6:40 pm #853731also, tried all 3- no luck.
PLEASE help.
DMarch 26, 2016 at 9:31 pm #853869Hello There,
please edit your page in Cornerstone and insert the following custom css in the settings tab, Settings > Custom CSS
.h-feature-headline span { display: inline-block; position: relative; padding: 0; }
To resize the font size on smaller screens so that it will fit the the custom headline area, you can apply the responsive text and manage it in Settings > Responsive Text. To know more about responsive text and how to implement it, please check out our knowledge base here: https://community.theme.co/kb/shortcode-walkthrough-responsive-text/
Hope this helps.
March 28, 2016 at 8:58 pm #855920beautiful! Thanks.
What about that image size? Any luck? I tried the posts you sent..March 28, 2016 at 9:11 pm #855937Hi there,
Thanks for updating the thread! Would you mind linking us to the pages and sections you are having issues with regarding images. Also please update your theme and Cornerstone to the latest versions.
To check the latest versions, please visit our Changelog
Note: That you may need to delete Cornerstone manually via FTP if the update is not showing up. You can then reinstall it via X Addons > Extensions.
Thanks!
March 29, 2016 at 4:28 pm #857528http://4professor.com/heating/
the picture of the woman at the top- looks like shit on mobile
March 29, 2016 at 11:33 pm #858069Hi There,
The image is landscape oriented, while mobiles are portrait. You need to create a portrait version of your background image and lets switch it when the page is viewed on mobile with the custom CSS below.
@media (max-width:480px){ .page-id-1067 #x-section-2 { background-image: url('PORTRAIT IMAGE URL HERE') !important; } }
Hope it helps, Cheers!
March 31, 2016 at 12:23 pm #861125nope, no luck. What am i doing wrong?
March 31, 2016 at 10:02 pm #861861Hello There,
Please update the very last part of your custom css and use this instead:
@media (max-width: 767px) { .x-content-dock { display: block !important; } } .h-feature-headline span { display: inline-block; position: relative; padding: 0; } @media (max-width:480px){ .page-id-1067 #x-section-2 { background-image: url (http://4professor.com/wp-content/uploads/2016/03/Woman-Thermostat.jpg) !important; } .page-id-1067 #x-section-2 .x-column.x-sm.x-1-1 { padding-top: 30px !important; } }
Again to display properly the custom headline on mobile screens, we highly suggest that you can apply the responsive text and manage it in Settings > Responsive Text. To know more about responsive text and how to implement it, please check out our knowledge base here: https://community.theme.co/kb/shortcode-walkthrough-responsive-text/
Hope this helps.
April 4, 2016 at 6:06 pm #866741you guys are the greatest!
April 4, 2016 at 7:53 pm #866855Happy to hear that.
Feel free to ask us again.
Have a great day! 🙂
-
AuthorPosts