Support Forums - Classified Ads Script Osclass
Unread
New Replies
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
not to show the mobile version
Support Forums - Classified Ads Script Osclass
Osclass theme support
Zara Osclass Responsive Theme
not to show the mobile version
Match all words
Match any words
Most relevant results first
Largest topics first
Smallest topics first
Most recent topics first
Oldest topics first
Advanced
Unread posts
New replies
My topics
My posts
Print
Pages: [
1
]
This topic contains a post which is marked as Best Answer.
Press here if you would like to see it.
Виталий Василенко
77 posts
not to show the mobile version
«
on:
December 07, 2016, 01:20:44 PM »
The header.php file
I put in function for the output h1 tag
The regular version all OK
I want to hide h1 in the mobile version
tell me how to do it
print Screen
http://prntscr.com/dgfcrq
«
Last Edit: April 21, 2017, 03:18:17 PM by Виталий Василенко
»
Logged
Виталий Василенко
77 posts
Re: not to show the mobile version
«
Reply #1 on:
December 07, 2016, 02:14:50 PM »
Sorry for my bad english
Logged
MB Themes
Support team
17458 posts
Only quality matters
Download Osclass
Re: not to show the mobile version
«
Reply #2 on:
December 07, 2016, 02:28:31 PM »
You can use different tools that help you customize mobile view of website, like:
http://responsivetest.net/#u=http://zara.mb-themes.com/|320|480|1
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Виталий Василенко
77 posts
Re: not to show the mobile version
«
Reply #3 on:
December 07, 2016, 02:54:46 PM »
How to view the mobile version I know
I want to hide h1 in the mobile version
print Screen
Logged
MB Themes
Support team
17458 posts
Only quality matters
Download Osclass
Re: not to show the mobile version
«
Reply #4 on:
December 07, 2016, 03:11:35 PM »
http://www.w3schools.com/css/css3_mediaqueries_ex.asp
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Marked as best answer by
frosticek
on December 07, 2016, 07:57:27 PM
Carlos Carcamo
105 posts
LaKompra.com
Re: not to show the mobile version
«
Reply #5 on:
December 07, 2016, 05:56:43 PM »
Hi, resolve this using css
put this code at the end of your style.css
.mobileHide { display: inline;}
/* Smartphone Portrait and Landscape */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px){ .mobileHide { display: none;}}
A go to your header and replace add this
<h1 class="mobileHide">
TEXT OR IMAGE NOT FOR MOBILE HERE
</h1>
This is the tutorial that I follow
https://blog.hubspot.com/marketing/site-content-only-mobile-viewers-can-see-ht#sm.0001mb01u3izif0htag2o89athefz
Logged
LaKompra.com
Виталий Василенко
77 posts
Re: not to show the mobile version
«
Reply #6 on:
December 08, 2016, 09:02:32 AM »
Many thanks.
I did everything you said.
Does not work :-(
Please tell me why so
Logged
Виталий Василенко
77 posts
Re: not to show the mobile version
«
Reply #7 on:
December 08, 2016, 09:05:31 AM »
even print screen
Logged
Виталий Василенко
77 posts
Re: not to show the mobile version
«
Reply #8 on:
December 08, 2016, 09:06:21 AM »
and
Logged
MB Themes
Support team
17458 posts
Only quality matters
Download Osclass
Re: not to show the mobile version
«
Reply #9 on:
December 08, 2016, 09:44:36 AM »
I think you should increase range of min and max width.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Виталий Василенко
77 posts
Re: not to show the mobile version
«
Reply #10 on:
December 08, 2016, 09:47:56 AM »
.mobileHide { display: inline;}
/* Smartphone Portrait and Landscape */
@media only screen
and (min-device-width : 10px)
and (max-device-width : 490px){ .mobileHide { display: none;}}
no effect
Logged
Carlos Carcamo
105 posts
LaKompra.com
Re: not to show the mobile version
«
Reply #11 on:
December 08, 2016, 01:33:14 PM »
Try with this:
<div class="mobileHide"><h1>text here</h1></div>
Remember to test with different types of codes, for example
<center class="mobileHide"><h1>text here</h1></center>
<ul class="mobileHide"><h1>text here</h1></ul>
«
Last Edit: December 08, 2016, 01:35:45 PM by Carlos Carcamo
»
Logged
LaKompra.com
Print
Pages: [
1
]