Jump to content

Targetting specific blocks with CSS

Featured Replies

Posted

Hi there

Is there a way to target specific blocks with css? I can't seem to see an unique class or ID for any of the blocks

Thanks in advance

data-blockid is unique

li[data-blockid="foo"]{

} 

image.thumb.png.e2ecf1c2141a915b8de8591c0f49c2fb.png

Yes, exactly what @Nathan Explosion suggested. Each block has an unique ID which can be targeted by CSS via the data-blockid attribute.

  • Author

Perfect guys thanks a lot

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.