FAQ link Height

So, most of the times, the designer of MI created a section of FAQ page with tab of each subtopics. The problem lies on the height of the id that is located above the view height.

Here comes the fixxxxx!!!!

On the title of the topics where you put the Id on, add the :before pseudo like this:

a::before {
    display: block;
    content: " ";
    margin-top: -70px;
    height: 70px;
    visibility: hidden;
}

The idea is, when the viewheight scrolled through, there is a space that works as a placeholder of the block. Please readjust the margin-top and height of the code above to your need. For more insight, you can access the code here: https://stackoverflow.com/questions/11872451/anchor-not-to-top-of-page-but-200px-down

Last updated