- Posts: 12
- Thank you received: 0
H1 and H2 CSS overruled by element style
-
info5
Active member - Topic Author
- New Member
Less
More
1 year 1 month ago - 1 year 1 month ago #50852
by info5
H1 and H2 CSS overruled by element style was created 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:
See 172.104.234.6/index.php/nl/ .
How can this be fixed?
Thanks,
BC
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 {
}
- 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
Less
More
- Posts: 12
- Thank you received: 0
1 year 1 month ago #50853
by info5
Replied by info5 on topic H1 and H2 CSS overruled by element style
Hi,
Firefox does not seem to have this problem, so it's a browser problem it seems,
BC
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
Less
More
- Posts: 6742
- Thank you received: 715
1 year 1 month ago - 1 year 1 month ago #50855
by milos
Replied by milos on topic H1 and H2 CSS overruled by element style
Hello,
If you want to change h1 and h2 through CSS, add this in your CSS file /media/templates/site/newsportal/css/custom.css:
If it doesn't work, try with:
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
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
Less
More
- Posts: 12
- Thank you received: 0
1 year 1 month ago #50860
by info5
Replied by info5 on topic H1 and H2 CSS overruled by element style
Thanks, yes, I'm aware but these values were overruled by inline stylingm which was added by my Chrome browser.
BC
BC
Please Log in to join the conversation.
Time to create page: 0.227 seconds