[Resolved] add css to generate before footer

Home Forums Support add css to generate before footer

  • This topic has 3 replies, 2 voices, and was last updated 1 year ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1211482
    Tarko

    Hi,

    I made hook element “before footer”. How can put css in that hook? For ex. if i want to change the background color of that element?

    #1211811
    David
    Staff
    Customer Support

    Hi there,

    Hooks themselves are not HTML elements that can be styled with CSS. Instead you hook in some HTML eg.

    <div class="before-footer-container">
        <!-- Your content/code goes here -->
    </div>

    And then you can target that element with the CSS class you gave it. in our example that is:

    .before-footer-container {
        /* styles here */
    }
    #1218152
    Tarko

    Hi,

    Yup, worked great, thank you again.

    #1218419
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.