dhanicx is a Fanbook user, you can Join now

» »
New way to make mobile view and pc view on wapka site (June 2017)By FIDeLiAN reload

New way to make mobile view and pc view on wapka site (June 2017)By FIDeLiAN reload

About 481 days ago
KinG FiDeLiAN off-line
From: NG NG
Topic No: 1

hello webmasters. Our todays tutorial is how to diff b/w mobile view and pc view for advance users only thats know litle abt css coding step 1 u need xternal css i advice you to use xtgem create a site there and click buid >file»browser»scrol down and click create folder > name the folder css it will ridirect u to d folder root(inside the folder) create a 2 files 1st mobile.css 2nd pc.css choose plain text now we create a css file remain d main css inside mobile.css file paste this
[color=red]note that no need for <style></style> cos this is external css
inside pc.css paste this
then ur links will be like this http://ursite.domain/css/mobile.css and http://ursite.domain/css/pc.css Visit if its display d styles den u r good to go to next step if it dosent den u need to review d tut againstep2 go and paste this in ur headtags
<!-- Phone --><link href="http://ursite.domain/css/mobile.css" rel="stylesheet" type="text/css" media="only screen and (max-width:579px)"/><!-- Desktop --><link href="http://ursite.domain/css/pc.css" rel="stylesheet" type="text/css" media="only screen and (min-width:580px)"/>
when ever you want hide content to pc users only use
<div id="mobile">conte u want to hide</div>
also if u want to hide content to mobile users use
<div id="pc">content u want to hide</div>
den change ursite.domain with ur xtgem site that u created and note dont use any css with width if not u will face some probs enjoy
2.54 KBMessage me on Facebook @ Fidelis E Peter and seen me a message
Or visit this websiteIMG: icon.png(0 B)[/color]
Join Us On Social Media
Facebook Twitter Admin

Quick Reply& No Spam!

New way to make mobile view and pc view on wapka site (June 2017)By FIDeLiAN reload


Your Name:


See More Topics
Site: Prev.Next.>>..1
Like & Follow Us
Find us on :facebooktwitter
Visitor Rank
Share Link
HTML & BB Code:

Download Funny App
Download VidMate
Bollywood Movie
WhatsApp status saver for photo or videos
Download the best Android apps on Uptodown
Download Android App for Free
Android Games  UC Browser  Shareit  more