Page 1 of 1

Wordpress: Remove sidebar fixed in twentyfifteen

Posted: Fri Dec 21, 2018 1:44 pm
by kachan64
If you ever used twentyfifteen, is a very nice theme (is free) that comes with WordPress installs. Default layout was sidebar on the left and content & footer on the right. However, I actually moved the footer on the bottom of the entire site and noticing that sidebar was overlapping the footer.

Did some inspect element only to found out that position fixed was somewhat added during theme load. After searching on Google there was nothing. So I dugged up the Github repo for twentyfifteen and searched position: fixed sidebar only to found out it was quietly loaded within functions.js file.

Code: Select all

$sidebar.attr( 'style', 'position: fixed;' );
script js.png
script js.png (13.92 KiB) Viewed 348 times
Apparently removing on 3 lines containing the code above and refresh the js file actually does make the sidebar none fixed again! :jumpingjacks:

Re: Wordpress: Remove sidebar fixed in twentyfifteen

Posted: Wed Apr 03, 2019 10:47 pm
by Alizeh
I have used twentyfifteen theme when i started my web designing career. Now I have moved on paid wordpress themes.

Re: Wordpress: Remove sidebar fixed in twentyfifteen

Posted: Fri Apr 05, 2019 9:48 pm
by kachan64
Alizeh wrote:
Wed Apr 03, 2019 10:47 pm
I have used twentyfifteen theme when i started my web designing career. Now I have moved on paid wordpress themes.
Nice.