will block style affect for used blocks after changing new style?

If I am using a block several times and now I am modifying some feature and style of the block.

After publish I can see that the new feature and style will work for the new block.


But what about the same block which is used earlier. Will it affect?

 

Hi Manish,

The following CSS specifity is used;

The styles have different priority and the order Service Studio imports the style sheets affects how the browsers apply them. The last style to be applied has the highest priority.

  1. System style sheet for Container widgets in the Grid.
  2. Block style sheet.
  3. Theme style sheet, which also includes a base theme (if specified).
  4. Screen or Email style sheet.
  5. Theme extra style sheet, with the Grid settings defined in the Theme properties.
  6. Styles that Service Studio generates when you use Styles Editor.
  7. Inline style you define in Attributes or Extended Properties.

Also something that is sometimes is overlooked is that lBock CSS can have effect outside the block, see this post.

Regards,

Daniel

Hi Manish,

Block is similar to web Blocks, if we done any changes in blocks it will affects everywhere we used it in our application.


Thanks & Regards

Suriya

suriya narayanan wrote:

Hi Manish,

Block is similar to web Blocks, if we done any changes in blocks it will affects everywhere we used it in our application.


Thanks & Regards

Suriya

Well my post states that that is not always the case in respect to the CSS in the block.