1. b8fish
  2. Commercial Templates
  3. Friday, 14 July 2023
  4.  Subscribe via email
I started with the Nina template and need to change the article background to black with light font color #f4f4f4 for all text. I set the new font colors in the Typography Styling tab for Body Font Color, and the H1, H2, H3 colors. Headers came up with the correct new color

However, using inspect with Chrome I see the css renders <p>text</p> using the "color:" attribute. To get paragraphs to be styled with the correct color I had to add a Custom CSS class --
p {color: #f4f4f4; }

body {
--text-main: #f4f4f4;
--primary: #ff7700;
--secondary: #e61e32;
--primary-color: #ff7700;
--secondary-color: #e61e32;
--base-color: #f4f4f4;
--content-link-color: #b85f15;
--button-color: #b85f15;
--button-hover-color: #b85f15;content_link_color
--hornav_font_color: #ffffff;
--header_bg: rgba(0, 0, 0, 1);
--mobile-menu-bg: #131419;
--mobile-menu-toggle: #ffffff;
--h1-color: #f4f4f4;
--h2-color: #f4f4f4;
--h3-color: #f4f4f4;
--h4-color: ;
}

See j4.bigwoodsgoods.com (still a work in progress)
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

By default your paragraphs should inherit the color from the body tag. To amend you can use the Typography Styling -> Body Font Color option in your template style settings. At present, we do not have a color option specific to paragraphs.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
For test, I set Body Font Color to #ff0000.
It shows in page source as class text-main: #ff0000
However, the default "color" attribute does not reflect any inheritance of this value. See attached screenshot.
Attachments (1)
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Indeed, thank you for bringing this issue to our attention.

I have just created an update for this template which should resolve this issue for you. For details on updating your template may I suggest the following article.. https://joomla51.com/tutorials/joomla-basics/updating-your-joomla-template

If the issue persists after updating, may I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
That fixed it. Thanks
  1. more than a month ago
  2. Commercial Templates
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok