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
wml::std::page(3)						     EN Tools							 wml::std::page(3)

NAME
wml::std::page - Standard HTML Page Header and Footer SYNOPSIS
#use wml::std::page <page [attributes]> [<page_end>] <head>...</head> <title>...</title> DESCRIPTION
This include file provides the new "<page>" tag which is a advanced combination of the HTML "<body>" and "<head>" container tags. The idea is to provide complete header and footer tags via one single tag while providing new features like page indentation, easy title specification and setup of default values for the page colors. ATTRIBUTES
"title" This is a shorthand for the container tag "<title>". The value of this attribute is placed in the "<head>" section of the page, surrounded with the "<title>" tag. "indent" This sets the indentation level of the page in units of "<blockquote>"'s. Default is no indentation. Setting "indent" to a value of N means the page is surrounded by N "<blockquote">> tags. The attribute "indent=1" or "indent=2" usually provides the best readable layout. "background" This just corresponds to the same attribute of the "<body>" tag and sets the background image. This is per default not used. "bgcolor" This just corresponds to the same attribute of the "<body>" tag and sets the background color. Default is "bgcolor="#ffffff"" (white). "text" This just corresponds to the same attribute of the "<body>" tag and sets the text color. Default is "text="#000000"" (black). "link" This just corresponds to the same attribute of the "<body>" tag and sets the normal hyperlink color. Default is "text="#333399"" (medium blue). "alink" This just corresponds to the same attribute of the "<body>" tag and sets the color for activated hyperlinks. Default is "text="#9999ff"" (light blue). "vlink" This just corresponds to the same attribute of the "<body>" tag and sets the color for already visited hyperlinks. Default is "text="#000066"" (dark blue). "color" When setting "color="none"", the five previous attributes are not put into the "<body>" tag. "onload" This just corresponds to the same attribute of the "<body>" tag and sets a JavaScript even handler which is activated after page was loaded. This is per default not used. "info" This automatically puts a "<info style=meta>" tag into the "<head>" section of the page. See wml::std::info(3) for more details. "slices" This enables the creating of three slices: "WML_STDPAGE_HEAD", "WML_STDPAGE_BODY" and "WML_STDPAGE_FOOT". These can be used later in Pass 9 (Slice) for cutting out parts of the page. :html:ATTR=STR :body:ATTR=STR The ``ATTR=STR'' pairs are passed along to the "<html>" and "<body>" HTML tags. OTHER COMMANDS
This module implements two new macros, called "<title>"..."</title>" and "<head>"..."</head>". The first one defines the title of the page, and the second appends its body into the HEAD section of the HTML documents. Its main purpose is to add meta-tags, either directly or with the help of wml::std::info(3). AUTHOR
Ralf S. Engelschall rse@engelschall.com www.engelschall.com REQUIRES
Internal: P1, P2, P5 External: -- SEE ALSO
HTML "<head>", "<body>" and "<title>" tags; wml::std::info(3) EN Tools 2014-04-16 wml::std::page(3)
All times are GMT -4. The time now is 09:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy