Set transparent background in one single post

Home Forums Modern Set transparent background in one single post

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22405

    Set transparent background in one single post

    Resolved

    Hey there! Have you noticed this support service is provided FREE of charge?
    If you like the speed and accuracy of resolutions, please consider supporting me with a small donation. Thank you

    Consider a donation →

    Hello,

    On the frontpage, I would like to have the block containing introduction text having a transparent background to enable page image background to be displayed.

    I tried many many things in custom CSS.

    I used chrome code editor to perform tests and so.

    Inside code editor, if i change value of ‘–color_content_background’ to transparent it’s ok. But I can’t find a solution for implementation in custom CSS.

    For instance :
    .page-id-157 .hentry { background-color: #000000; } -> background color is changed to white
    but
    .page-id-157 .hentry { background-color: transparent; } -> background color is the one defined in theme (= no change)

    I also tried adding !important but still no change.

    Could you please help me to figure out what to do?

    Thank you very much

    #22408
    Oliver Juhas
    Keymaster

    Hi AnotherGuyPlayingWithWP,

    Please use this custom CSS:

    .home .site-main .entry {
    	background: transparent;
    }

    Best regards,

    Oliver Juhas
    WebMan Design

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