Staff replied Templates

Template Gazette: "Text Block" customization does not work, after update

Asked by CdF 2 years ago Last activity 2 years ago

Hi,
after updating the gazette template to 2.0.1 the customization of the boxes (created via "Addon" > "Text Block") no longer works.
We attach image :

  1. As seen now;
  2. As seen before with customization.
    Can you help us solve it,
    thanks

3 replies

Ofi Khan Staff

Hello cdf12345

The CSS was beign overridden with the template CSS. I have applied this CSS to

Template Options -> Custom Code -> Custom CSS

.view-article .sppb-addon-text-block{
    font-size: 12px !important;
    line-height: 18px !important;
}

It should be okay now.

Best regards

CdF Asked this

Thanks Ofi,

but changing the css doesn't solve the problem. Change all text sizes throughout the article.
The font of the article is correct to be:

  1. font-size: 18px;
  2. line-height: 28px;
    3.color: #5f5f5f;

What we want is for the “Text blocks” to take the custom size (as it was before the update to the latest version of Gazette), in the example:

  1. font-size: 15px;
  2. line-height: 17px;
  3. color: #ffffff;

Practically, if I insert a "Text block" with font-size: 15px in an article; line-height: 17px;, the text appears with font-size: 18px; line-height: 28px;. That's no good.

Ofi Khan Staff

I understand. Since you are using a template, the template specific CSS is getting the priority. Hence, you need Custom CSS to override this.

Log in to reply.