Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

If you Like the Asteria Lite Theme and want to Keep it free forever Please Rate it on Wordpress.org (It only takes a few seconds)
Viewing 2 posts - 1 through 2 (of 2 total)

Block links disable css for different background colors blocks

Home Forums Free Theme Support Asteria Lite Block links disable css for different background colors blocks

  • #82283

    Tako Leurink

    subscriber

    Hi Towfiqi,

    I used the following css to give each block its own background colour:

    .midrow_block:nth-child(1){background:#background colour1 ! important;}
    .midrow_block:nth-child(2){background:#background colour2 ! important;}
    .midrow_block:nth-child(3){background:#background colour3 ! important;}
    .midrow_block:nth-child(4){background:#background colour4 ! important;}

    This pretty much did what I wanted it to do.

    However, after adding a block link all the blocks get the (same) colour of the background colour I use for the first block (#background color1). So the css for the background colours for blocks 2, 3 and 4 seems to be overruled or ignored by something.

    Do you know a sollution?

    Thanks in advance.

    Takoos

    #82403

    Towfiq I.

    administrator

    whats your site address?

You must be logged in to reply to this topic.