Big grid Border changes

Posted in: Newspaper
Post count: 27

I want to change the look of the big grid. I want to add a border. Something like this :

Big grid border

Please tell me the procedure. thanks in advance.

Post count: 27

I want to add yellow border like the image posted above.

Post count: 22421

Hello,

Assuming that block1 is the one you want to change, you can use this css to do it:
.td_block_big_grid_1 .td_module_mx5 .td-module-thumb{
border: 5px solid yellow;
}

You can add the code in the theme panel->custom css box.

Thank you!

Post count: 27

Hello Bogdan, thanks for the reply and Css code. 5 Stars for the support.

Post count: 27

75 % done. just 1 more thing .. i won’t be able to explain, so here is the link : beingindian .com , How can i achieve this look ? ( Here I’m talking about yellow border of the big grid blocks)

  • This reply was modified 9 years by Gagandeep.
Post count: 22421

Hi,
I assume you are talking about the hover effect with the yellow border and transition effect.
The way the site you mention has done it is with this css:

.td_module_mx6:hover .td-module-thumb {
    border: 5px solid #F3EC04;
}
.td_module_mx6 .td-module-thumb {
border: 0px solid #F3EC04;
transition: all 0.3s linear!important;

Thanks.

Post count: 27

Thank you so much !! thanks for the support! #5stars

Post count: 27

look achieved but :

Yellow warning sign : Use of Important.
I sign : Values of 0 shouldn’t have units specified

css

Post count: 22421

Hi,

The css box shows suggestions, yes. By cleaning up the code you can use it like so:
.td_module_mx6:hover .td-module-thumb {
border: 5px solid #F3EC04;
}
.td_module_mx6 .td-module-thumb {
transition: all 0.3s linear;

(the first was a copy of the code used by the site you mentioned)

Thanks.

Post count: 27

Thanks for the support.

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