Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

[SOLVED] Heading style to match Joomla template style

9 years 9 months ago - 9 years 8 months ago #261348 by KathAhren09
I am sure someone has asked this before, but I totally could not find any help. I looked, really, really I did!

Please see attached graphic to see what I am talking about...

I tried adding this to my custom.css template, but something is not working...
Code:
.cb_template h1, .cb_template h2, .cb_template h3, .cb_template h4, .cb_template h5, .cb_template h6, .cb_template .h1, .cb_template .h2, .cb_template .h3, .cb_template .h4, .cb_template .h5, .cb_template .h6 { font-family: OpenSans; font-weight: 500; line-height: 1.1; color: #ca0012; }
Attachments:
Last edit: 9 years 8 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
9 years 9 months ago - 9 years 9 months ago #261415 by krileon
Replied by krileon on topic Heading style to match Joomla template style
It's the .page-header styling from Bootstrap. Your selector isn't strong enough to override it. Example as follows for a stronger selector.

Code:
.cb_template .page-header h4 { font-family: OpenSans; font-weight: 500; line-height: 1.1; color: #ca0012; }

The padding and border bar are added to .page-header directly and not the h4 though. For further structure, class, and style information right click the header in Chrome or Firefox and click Inspect Element.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 9 years 9 months ago by krileon.
The following user(s) said Thank You: nant, KathAhren09

Please Log in or Create an account to join the conversation.

9 years 8 months ago #261608 by KathAhren09
Replied by KathAhren09 on topic Heading style to match Joomla template style
thank you - i have it figured out now with your help

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum