Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #878620

    Hello

    I would miketo find how to block the footer at the bottom of the screen even if the text is too small, but it would not appear if the text is longer tan the screen

    Many thanks

    #878640

    Hey ctancrede,
    Please include the url to the page in question, and a screenshot of what element you want to hide.
    Please try using https://postimages.org/ and pasting the image URL in your post.

    Best regards,
    Mike

    #878770

    Hello
    Thank

    Here is the link : https://postimg.org/image/dnzejhym9/

    I just want the footer stay at the bottom of the screen when the text is not enought long

    #878790

    Hi,
    Try this code in the General Styling > Quick CSS field:

    #main .template-page.content {min-height: 80vh!important; }

    This will make the page 80% of visual height, you can adjust the number to suit. If you only want it to work on one page add the page id after #main

    Best regards,
    Mike

    #879021

    Hello,

    I am sorry but this solution doesn’t work :

    – that my home frame before using the css code above :https://postimg.org/image/f0udjp6ud/
    – this is what I have after ! : https://postimg.org/image/5iumjwl8l/

    I am looking to find out to let the footer at the bottom of the screen if the text is too small. https://postimg.org/image/f0udjp6ud/
    I would like the red footer to be on the bottom ???

    Many thanks

    #879521

    Hi,
    In order to use the code so it will not interfere with other pages you will need to add the page_id of the page that is too short to the code. If you would like assistance figuring out your page_id for that page please include a link to it.
    For that page that is too short was 80vh good, or did you try different numbers?
    Overall there is not a single fix for pages that don’t have enough content, other than adding more content or some code like this.
    Do you plan on having many pages that are short like this?

    Best regards,
    Mike

    #880157

    Hello

    Yes I must have 8 pages with small text.

    For example

    On a small screen, it ok
    But on a large screen, the red part is pluging half of the screen which is not very smart. I would prefer the footer stay above, and having a blank space between the end of the text ans the footer

    #880196

    Hi,
    If I understand correctly on these pages you would like the footer to show just a little so you can read the footer text, and mobile screens are fine. So I wrote this to target only those three pages for tablet and above.

    @media only screen and (min-width: 768px) { 
    #top.page-id-1404 #main .template-page.content,#top.page-id-1416 #main .template-page.content,#top.page-id-999 #main .template-page.content {min-height: 70vh!important; }
    }

    You will note the page-id’s in the repeating rule separated with a comma, to add more just add a comma and this rule:

    #top.page-id-XXX #main .template-page.content

    change the XXX to your page ID number, or list the pages here.
    I found 70vh looked best, but you can adjust to suit. Please see screenshot in Private Content area

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.