Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Form block with fixed position as I scroll


kevinkanbee

Question

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

4 answers to this question

Recommended Posts

  • 0

Hi.

Add to Home > Design > Custom CSS

/* Fixed form block */
div#block-yui_3_17_2_1_1607698148029_12321 {
    position: fixed;
    bottom: 0;
    z-index: 999;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    background: white;
}
div#block-yui_3_17_2_1_1607698148029_12321 form {
    display: flex;
    align-items: center;
}
iv#block-yui_3_17_2_1_1607698148029_12321 .field-list {
    width: 80%;
    margin-right: 10px;
}
@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1607698148029_12321 {
    width: 90%;
}
}

 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...