Site logo

Archived topic

Embedding HTML CSS in the page

1 reply · Started by Ragunaath on July 24, 2021

Viewing posts 1–2 of 2

This is a feature, I need to implement, the curtain opening effect, when opened the page should show with a title and when the title been clicked, it takes to another page, this is for a client like needs a launch of a website.

I found a tutorial which as html and css trick, http://talkerscode.com/webtricks/curtain-opening-effect-using-jquery-and-css.php

I tried custom html block in a page, but What I don't understand is how to link the specific css for that block, it has to fill the screen though, but also behind that there must be clickable title when curtain opens.

Looking for a solution.

Hi there,

if you're using the HTML that topic provides then each element has been given specific CSS Classes. So you should simply be able to add the CSS to Customizer > Additional CSS or your Child Themes styles.css

Or you can add it inside the same HML Block, the CSS will need to wrapped like so:

<style>
    /* Add the CSS here */
</style>
This archived topic is closed to new replies.