Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to change color of module title in Minimal EntropyHow to change color of module title in Minimal Entropy
Previous
 
Next
New Post
1/27/2010 3:16 PM
 

Joan,

If I'm about to tell you anything you already know please forgive me.

When it comes to CSS it's all about specificity and order, the last css file has presedence over previous ones and a generic .Head can be overwritten by placing the code in a "further down the code" css file or by referencing a wrapping wrapping element. So if the code looks like this:

<h1>
<span class="Head">This is the title</span>
<h1>

The .Head element can be overwritten by placing the code in the last referenced CSS file, within the HTML of the page or within the element (inline). And it can also be changed by creating a statement that has more presedence such as H1 .Head which will apply settings over the .Head styles as long as the element is within a H1.

If you access the admin section and add the CSS to the Style Sheet within here it will appear on the closest CSS file so this will override any generic .Head settings. If this doesn't make the changes, you'll need to try more "weight" and reference a wrapping element such as span.Head or H1 .head if the containers are symantic.

Hope this helps.

Rick.



PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
New Post
1/28/2010 1:18 PM
 

Rick, thanks for the reply. I was adding the changes in the Stylesheet Editor under the Admin | Site Settings. My thinking being that putting them there would override all other css since it (portal.css) is the last stylesheet that would be applied. Problem was that I wasn't see any immediate changes. However, when I pulled the site back up several hours later, the changes I had entered appeared! Maybe the page got cached and that's why I didn't see any difference?  Am not sure, but it's working now. My steps were to add the css in the Stylesheet Editor, click "Save Style Sheet", then click "Update" -- it seems like you have to navigate off the Site Settings page in order to see the changes.

Regardless, what I added to the portal.css is below. The css I got to work to change the module titles is below.

.title_grey .Head {color:#CB2027; font-size:medium;}

Thanks so much for your time and assistance - Joan

 
New Post
1/28/2010 1:35 PM
 

Joan,

That's no problem, glad I could help.

Regards,

Rick.



PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
New Post
1/28/2010 4:54 PM
 

 I've had similar issues with websites in the past. For more immediate results, you can open a command prompt and type "iisreset" Only do so in a development environment obviously, otherwise the website will go down for a minute...

 
New Post
1/28/2010 5:50 PM
 

@Joan,

I wonder if the problem you saw is because the browser is not pulling down the upddated style sheet and is running with an older cached version.

I'm no expert here, but I believe that holding down Ctrl as you hit F5/click refresh causes the browser to refetch everything - including style sheets it otherwise would not bother with.


Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to change color of module title in Minimal EntropyHow to change color of module title in Minimal Entropy


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out