11/12/2016

How To Make Blogger Mobile Pagelist Drop Down Menu Display Like Webview



This is a guest post compiled by +Mazino Oyolo Kigho  for OgbongeBlog

Blogger default templates on mobile must surely give you a drop down menu pagelist.

This has really made it difficult sometimes for visitors to find your contact page, except they scroll down to the footer if you have added the contact link there.

Google Adsense is another important thing to consider, placing ads below a drop down navigation is a violation of Adsense policy. Therefore, of recent many ads below that spot on blogger mobile view were force to the bottom.

Well, you can eliminate the drop down pagelist on mobile view and let it display the same way it appears on webview. This tutorial will guide you on how to do so.

remove dropdown menu on blogspot mobile view


no mobile menu blogger web design




How To Get Started

Before you get started, please, BACK UP YOUR TEMPLATE so you can easily reverse should in case you mess up your blog's code.


==> Go to "Template" > 'Edit HTML' and search for <b:widget id='PageList1'. Alternatively, you can use the "Jump To Template" option to easily navigate to the PageList1 widget code.


==> Scroll down and look for the following codes :

<select expr:id='data:widget.instanceId + &quot;_select&quot;'>
<b:loop values='data:links' var='link'>
<b:if cond='data:link.isCurrentPage'>
<option expr:value='data:link.href' selected='selected'><data:link.title/></option>
<b:else/>
<option expr:value='data:link.href'><data:link.title/></option>
</b:if>
</b:loop>
</select>
<span class='pagelist-arrow'>&amp;#9660;</span>



pagelist widget code blogspot design




==> Once you find the above codes, replace them with the codes below:


<div align='center' class='tabs-outer'>
<strong>
<b:loop values='data:links' var='link'>
<span> <a expr:href='data:link.href'><data:link.title/></a> </span>
<!--separator-->
</b:loop>
</strong>
</div>
<div class='clear'/>


pagelist code blog design



==> Click "Save Template"

==> Go to "Template" > "Customize" > "Advanced" > "Add CSS"

==> Copy and paste the code below, in the "Add CSS" box 

.mobile .tabs-outer {  
color: #333; 
text-align:center; 
width:auto; 
overflow:hidden; 
margin:0; 
padding:0px 0px 0px 0px;



.mobile .tabs-outer span a { 
color: #fff; 
padding:0 7px;
margin:0;
}

.mobile .tabs-outer span a:hover {
text-decoration:none;
color: #fff;
font-size:1.0em;
padding:0 5px;
margin:0;
}


==> Click "Apply To Blog"

That's all.

View your blog on mobile and you should see that the dropdown menu displaying as it does on web view. 

What's your take on this?.



This post was written by +Mazino Oyolo Kigho .  He blogs on MazinoWeb and you can follow him on Twitter @mazinoweb and add him as friend on Facebook here






Share :


16 comments:

  1. Mazino the Great.

    weldone

    ReplyDelete
    Replies
    1. Thanks
      Call me Mazino and not Mazino the great.
      I am not great.
      Well you can share this tutorial with other fellow bloggers.

      Delete
  2. Thanks for this,,, am gonna try it out.

    ReplyDelete
  3. thanks for this post, its great

    ReplyDelete
  4. i just tried it out on my news blog at www.gistpark.com and it worked perfectly 100 percent. Mazino thanks for this tutorial. Jide thanks for allowing Mazino share this great tip with us all.

    ReplyDelete
    Replies
    1. Good to know it worked for you.

      Delete
  5. wow. great tutorial. I'm off to try it now , thanks

    ReplyDelete
  6. It worked well in my blog. But everything ,both text and background was white in color, do I had to make some changes in the CSS code you provided. So if yours is the same with mine , just changed one of the color codes from #fff to another color code just like I did in mine.

    Checkout my blog here to see the sample

    ReplyDelete
  7. Wow it cool and i really like it see my blog secretgist.com/?m=1

    ReplyDelete
  8. Wow! It worked perfectly... Check my blog TECHGEEZ.COM

    ReplyDelete
  9. It's a very great post and coding but for personal and Google mobile friendliness + readers UI I prefer the drop down. Since it is most recommended for mobile devices.

    ReplyDelete
  10. Wow, Its Perfect, and Its also SEO Friendly, You can checkout how my blog looks like now, I Blog at ==>> www.naijalads.com.ng

    ReplyDelete

We love to hear from you!

Sign in to comment "anonymously" without entering verification text.

Want to be notified when I reply your comment? Tick the "Notify Me" box.

If your comment is unrelated to this post, please drop it at my Facebook group here.

THANKS.

Designed by Jide Ogunsanya.