1. Agabby
  2. Sherlock Holmes
  3. Commercial Templates
  4. Thursday, 30 October 2014
  5.  Subscribe via email
Hello..

I've checked all through this forum, tried to use similar codes, but I can't find css code to change font color of module top-1a. I'm trying this code.. Please tell me what I am missing..

.top-1a h2 {
font-color: #6a0a82
}

Thanks
April
Accepted Answer Pending Moderation
0
Votes
Undo
Hi April

Could you try adding the following to the Custom CSS field of your templates parameters, editing to your own taste...


.top-2 {
color: #6a0a82;
}
.top-2 h3 {
color: #6a0a82;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciaran,

Sorry but this did not work in the templates Custom CSS field. Will this over ride the Module's heading source code? This worked for h3 (body of the text) but not the heading h2.

My objective is to change the background to white, therefore I will need to change the color of the text or change the background color of top 1b to white.

thanks

April
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi April

Would you have a URL to a page where you have added the above CSS to the Custom CSS field?

Note that Joomla module titles by default are in H3 tags.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciaran,

My site is not live.. but here is the source code from the demo..so I thought h2 mean header 2.. maybe I'm wrong.. Thx.. April

<div style="padding-left: 4px 0;">
<h2>A <b>Professional </b>Touch of Style</h2>
<h3 style="margin: 2px;"> </h3>
<p>Delenit augue duis dolore te feugait nulla facilisi luptatum</p>
</div>
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi April

This code is actually part of the module content. The title for the module has been disabled with all of the above added to the outout field.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Ciaran,

OK, I'm thinking the only way I can get this to work is to remove this code and create my own to create the color I need.. as stated the code above worked for the body of the text but not the header.. no change.

How can I change the background color of the module.. top 1-b to white? and keep top 1-a the same? Thanks

Thanks
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Hi April

Would you have a URL to an example of these modules? It will be the only way I can determine the exact CSS.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 7
  • 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