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...Using Modules a...Using Modules a...Styling the Search ResultStyling the Search Result
Previous
 
Next
New Post
10/4/2011 10:33 AM
 
Hello,
I've been trying to style the search result module, but the default.css doesn't supply the classes needed for it.
Where can I define those styles?
the ones i've found were the dnnGridItem and dnnGridAltItem that is used for all the grids and I want only one style for the search result grid.
As for the structure of the grid, the template can only be set on the .ascx? Is there any configuration for this?

Thank you!
 
New Post
10/4/2011 9:56 PM
 
currently the search results are not templatable (I believe we're looking at this shortly). As for the CSS, each form that has a unique function has a unique css class added, in this case "dnnSearchResults" - there is no definition for this in the core at present but you can add your own (e.g. in skin.css or portal.css) to control the styling of the search results grid.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/5/2011 8:07 AM
 
This should be enough to get you started. Just add it to your skin file:

/* Search Results */
.dnnSearchResults span {
font-size:18px;
}
.dnnSearchResults table {
width:100%;
}
.dnnSearchResults td {
padding:10px;
vertical-align:top;
}
.dnnSearchResults td span {
font-size:12px;
}
.dnnSearchResults td span.SubHead, .dnnSearchResults td a {
font-size:20px;
font-weight:700;
}
 
New Post
2/18/2012 10:33 AM
 
Jeff, thanks for the post - exactly what I was looking for!
Paul
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Styling the Search ResultStyling the Search Result


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