Sponsored Content
Top Forums Web Development Quick Fix for Google Search Console "Page is not mobile friendly" Post 303034796 by Neo on Tuesday 7th of May 2019 01:10:50 AM
Old 05-07-2019
Quick Fix for Google Search Console "Page is not mobile friendly"

Over the past 10 plus years, we have countless posts where the user did not use CODE tags or they used ICODE tags incorrectly.

This has has the results of this site penalized by Google for having pages which are "not mobile friendly".

So, working quietly in the background, in the thankless task of adding CODE tags and correcting ICODE tags in countless posts, I have created a solutions which works.

Basically, since I had already converted each post to use DIV elements versus the original TABLE elements, I just added this simple CSS to the wrapper DIV element for each post body text:

Code:
.post_wrapper{
overflow:auto;
}

This is the same overflow attribute we use in CODE tags; but by applying it to the body of the post DIV wrapper, this causes Google Search Console to report all these pages now:

"Page is mobile friendly"

Hopefully, the problem is solved forever. Let's see.
This User Gave Thanks to Neo For This Post:
 

5 More Discussions You Might Find Interesting

1. Programming

what difference between "terminal" and "console"

1 . Thank you for reading the post first. 2 . what difference between "terminal" and "console" (1 Reply)
Discussion started by: chenhao_no1
1 Replies

2. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

3. Shell Programming and Scripting

grep with "[" and "]" and "dot" within the search string

Hello. Following recommendations for one of my threads, this is working perfectly : #!/bin/bash CNT=$( grep -c -e "some text 1" -e "some text 2" -e "some text 3" "/tmp/log_file.txt" ) Now I need a grep success for some thing like : #!/bin/bash CNT=$( grep -c -e "some text_1... (4 Replies)
Discussion started by: jcdole
4 Replies

4. What is on Your Mind?

Google Search Console - Mobile Usability - No Errors or Issues - New Milestone

For the first time in the history of the site Google Search Console (GSC) has unix.com showing "no mobile viewability errors". This is no small achievement considering the hundreds of thousand of lines of legacy code we run at a site which has been around much longer than Facebook or LinkedIn: ... (0 Replies)
Discussion started by: Neo
0 Replies

5. UNIX for Beginners Questions & Answers

Howto auto boot SPARC | How to auto supply "start /SYS" and "start /SP/console" commands

When I power ON my T4-1, I got a prompt -> where I have to start /SYS and start /SP/console. How can I auto supply these two commands ? (3 Replies)
Discussion started by: z_haseeb
3 Replies
MojoMojo::Controller::Page(3pm) 			User Contributed Perl Documentation			   MojoMojo::Controller::Page(3pm)

NAME
MojoMojo::Controller::Page - Page controller SYNOPSIS
DESCRIPTION
This controller is the main juice of MojoMojo. It handles all the actions related to wiki pages. Actions are redispatched to this controller based on MojoMojo's custom prepare_path method. Every private action here expects to have a page path in args. They can be called with urls like "/page1/page2.action". ACTIONS
view (.view) This is probably the most common action in MojoMojo. A lot of the other actions redispatch to this one. It will prepare the stash for page view, and set the template to "view.tt", unless another is already set. It also takes an optional 'rev' parameter, in which case it will load the provided revision instead. search (.search) This action is called as ".search" on the current page when the user performs a search. The user can choose to search the entire site or a subtree starting from the current page. print This action is the same as the "view" action, but with a printer-friendly template. inline Same as "view" action, but with a template that only outputs the barebones body of the page. There are no headers, footers, or navigation bars. Useful for transclusion (see MojoMojo::Formatter::Include). inline_tags (.inline_tags) Tag list for the bottom of page views. pages_viewable($c, $user, @pages) Filters an array of pages, returning only those that the given user has permission to view. list (.list) All nodes in this namespace. Computes tags, all pages, backlinks, wanted and orphan pages. subtree (.subtree) Display all pages that are part of the subtree for the current node. recent (.recent) Recently changed pages in this namespace. Also computes the most used tags. feeds (.feeds) Overview of available feeds for this node. rss (.rss) RSS feed with headlines of recent nodes in this namespace. atom (.atom) Full content ATOM feed of recent nodes in this namespace. rss_full (.rss_full) Full content RSS feed of recent nodes in this namespace. export (.export) Page showing available export options. suggest (.suggest) "Page not found" page, suggesting alternatives, and allowing creation of the page. Root::auto detaches here for actions on nonexistent pages (e.g. c<bogus.export>). search_inline (.search/inline) Search results embeddable in another page (for use with "suggest"). info (.info) Meta information about the current page: revision list, content size, number of children and descendants, links to/from, attachments. AUTHOR
Marcus Ramberg <mramberg@cpan.org> LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-09-02 MojoMojo::Controller::Page(3pm)
All times are GMT -4. The time now is 08:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy