Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

Reply To: Keeping footer down

New Front EN Support Forums Tokyo Theme Support Keeping footer down Reply To: Keeping footer down

#2534
mmsatori
Keymaster

Hey Credo,

first of all, thank you for the purchase!

The footer “flows” together with the rest of the page’s element in most WordPress themes, and I would not recommend fixing it to the bottom of the page – e.g. on smaller screens it might look quite ugly; instead, I’d recommend inserting several empty lines into the page to make the content higher (e.g. by using the line break tags in the “Text” editor mode).

However, if you do need to fix the footer on a particular page, you can do it by adding some custom CSS, as follows:

.page-id-XX #footer { position: fixed; bottom: 0; width: 100%; z-index: 10; }

replacing the “XX” with the page ID; this code can be added at the bottom of the theme’s “style.css” file (opens by default when you visit the “Appearance -> Editor” admin section.

Sincerely,
Andrii / Satori Studio