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, ...DNN6 container, how to change h1 titlesDNN6 container, how to change h1 titles
Previous
 
Next
New Post
7/27/2011 10:50 AM
 
I want to change the color/font/size etc of the title of a container.
I've tried different css adjusments, but none is changing the titles.

my container.ascx
<div class="c_DNN6_GeelBlok">

    <div class="Middle">
        <div id="ContentPane" runat="server"></div>
        <div class="GeelBlokTitel">
            <h2 class="Title"><dnn:TITLE ID="dnnTitle" runat="server" /></h2>
        </div>
    </div>

</div>

container.css
.c_DNN6_GeelBlok {width: 100%;}
.c_DNN6_GeelBlok .Title{text-transform:uppercase;}
.c_DNN6_GeelBlok .Title{margin:0px 10px 15px 10px;padding:0; background-color:#000; color:#fcb040; }
.c_DNN6_GeelBlok .GeelBlokTitel .Middle .Title{margin:0px 10px 15px 10px;padding:0; background-color:#000; color:#fcb040; }

h2.c_DNN6_GeelBlok .Title{color:#fcb040;}

.c_DNN6_GeelBlok .Middle {height:100%; background-image:url(Images/geel_bg.png); background-repeat:no-repeat;}
.c_DNN6_GeelBlok .DNNModuleContent{padding:0 12px;}
h2.c_DNN6_GeelBlok .Title{color:#fcb040;}

What do I have to change in my css document to change the color/font/size etc of my titles and h2.titles?
 
New Post
7/27/2011 11:05 AM
 
DotNetNuke is nice enough to add in an extra span around the title. The span has a class of "Head". So, your CSS will need to be something like:

.Title .Head{text-transform:uppercase;}


Ralph Williams, Jr.
UX Designer / Front-End Web Developer
www.RalphWilliams.com
Ralph Williams Consulting
Twitter: twitter.com/ralphwilliams

Professional DNN7: Open Source .NET CMS Platform
 
New Post
8/1/2011 3:52 AM
 
tnx that was the trick!!
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN6 container, how to change h1 titlesDNN6 container, how to change h1 titles


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