BugFix: Links not clickable on mobile devices for the colorlib newspaper-x theme

I have discovered an major bug with the colorlib newspaper-x theme for wordpress. The bug occurs when viewing the wordpress colorlib newspaper-x theme from a mobile device. The bug does not allow you to click hyperlinks within certain page content. This results in wordpress links not working on mobile and wordpress links not clickable issues. This is a similar bug that I found and fixed in the colorlib unite wordpress theme.

Fix

To fix the newspaper-x theme so that links are clickable follow the instructions below.

Naviagate to the “sidebar.php” file, which should be located in directory “wp-content/themes/newspaper-x/”

You have to modify line number 15 in the file, essetially adding style="float:left;" to the secondary div element.

The orignal code on line 15 should read:

< as ide id="secondary" cla ss="widget-area col-lg-4 col-md-4 col-sm-4 newspaper-x-sidebar" role="complementary">

You want to modify the code to this line

< asi de id="secondary" cl ass="widget-area col-lg-4 col-md-4 col-sm-4 newspaper-x-sidebar" ro le="complementary" st yle="float:left;">

Notice, we simply add style="float:left;" to the div.

The reason and details why this bug occurs can be found here. This is the same fix as for the unite theme from colorlib.

There are various mentions of this bug on the colourlib support forums. Some of which are listed below:

If this helped you out please consider making a donation to buy me a beer coke.

Creating your first programming language is easier than you think,
...also looks great on your resume/cv.