H1 and H2 CSS overruled by element style

  • info5
    Active member
  • Topic Author
  • New Member
  • New Member
More
1 year 1 month ago - 1 year 1 month ago #50852 by info5
Hi,

when changing the font size for H1 and H2, this setting is overruled by the inline styling, so I cannot change the size via the Sparky Framework:

element.style {

  1. font-size: 48px;
}


See  172.104.234.6/index.php/nl/ .

How can this be fixed?

Thanks,

BC
Last edit: 1 year 1 month ago by info5.

Please Log in to join the conversation.

  • info5
    Active member
  • Topic Author
  • New Member
  • New Member
More
1 year 1 month ago #50853 by info5
Hi,

Firefox does not seem to have this problem, so it's a browser problem it seems,

BC

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
1 year 1 month ago - 1 year 1 month ago #50855 by milos
Hello,

If you want to change h1 and h2 through CSS, add this in your CSS file /media/templates/site/newsportal/css/custom.css:
Code:
h1 { font-size: 48px; } h2 { font-size: 32px; }

If it doesn't work, try with:
Code:
h1 { font-size: 48px !important; } h2 { font-size: 32px !important; }

You can change values of 48px and 32px.

You can also try to change this in the template parameters: www.hotjoomlatemplates.com/sparky-docume...on/style/text-styles

Regards,
Milos
Last edit: 1 year 1 month ago by milos.

Please Log in to join the conversation.

  • info5
    Active member
  • Topic Author
  • New Member
  • New Member
More
1 year 1 month ago #50860 by info5
Thanks, yes, I'm aware but these values were overruled by inline stylingm which was added by my Chrome browser.

BC

Please Log in to join the conversation.

Time to create page: 0.227 seconds
Powered by Kunena Forum