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, ...Changing the colour of a visited link.Changing the colour of a visited link.
Previous
 
Next
New Post
6/26/2013 7:52 PM
 

Firebug shows the css is coming from the following link: https://dnn.apsim.info/DependencyHandler.axd/5fe25deadee89d2f86d124e79104d490.41.css

I should note that I'm not a web programmer/admin or anything like that , I'm actually a mathematician with an IT background. I don't really know what minifcation is or if I've turned it off correctly. The site was set up by an external group who no longer have access to our servers which is why I'm not getting them to do it as getting a remote access authorisation for an external party is a royal PITA.

Everything looks ok on the server side, but there must be a cache somewhere that's pulling the old code because I can't a reference to the old colour any where in the site.

The site is sort of half online... You can't access it directly from the URL as it doesn't have a DNS entry. The IP and url is below but to access it you'll need to add the entry to your HOSTS file or the IP will redirect to the current live version.

150.229.142.30 dnn.apsim.info

The site is basically ready to go (once we fill in the front page news articles) I've just got the request to change the email link colour on the front page so you can see it along with a request to change the logo to always link to the main page. I don't know how to do this either, I was going to start another thread once this is sorted.

Thanks for your help,

Justin

 
New Post
6/27/2013 4:28 AM
 
Minification is an umbrella term for some processes designed to improved performance at the browser. It can include:
- removing all the whitespace and comments to make the file smaller (personally I think that's 'true' minification)
- compressing the file with (say) zip
- merging multiple css (and/or js files) so that the browser only does one download request instead of lots

A automated minification process (like DNN's) will often add a cache header instructing the browser to keep and reuse the data - here is a great article on caching http://blog.httpwatch.com/2007/12/10/...

Given the url you quoted, my bet is that you have not correctly turned off minification.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
6/27/2013 12:23 PM
 
Right. It seems like you don't have compression on but you do have stylesheet combining on.
Also the CSS that should overwrite the colour is not in the combined Stylesheet.

Normally clicking the link "Increment Version" in host /application  settings should help.
If the does not help also disable the "Enable Composite files" checkbox, also in host /application  settings.

After that you should see that the referenced stylesheets are not coming from DependencyHandler.axd any more.
(but separate files like default.css, skin.css etc.)

When you still have the issue in that case, it's a "normal" CSS issue.
Let us know when you where able to disable stylesheet combining..
 
New Post
6/27/2013 9:20 PM
 

Excellent, I found it. After turning off composite files fire bug gave me this link:

https://dnn.apsim.info/Portals/_default/default.css?cdv=42

I hadn't checked the default Portal... I thought it all came from Portals/0/ which is the one that holds our site. At any rate, I had a look in default.css and sure enough I found this:

a:link, a:visited, a:active{text-decoration:none;color:#036;}

I changed 036 to F11, saved the file and reloaded by browser window and the change has propagated.

Thanks to everyone, I never would have found this on my own.

Justin

 
New Post
6/28/2013 4:33 AM
 
Well done - but a minor warning. That _default portal file will be replaced next time you upgrade DNN and your change will mysteriously vanish.

The various css files are loaded in an order that allows you to override earlier definitions.

So reinstate that file and then. You should do one of:
- copy your skin files (to make a custom skin) and override that style in skin.css
- override it for a specific site in that site's portal.css (do it through site settings)

Timo has a good resource on the order of loading http://www.40fingers.net/WeblogsNews/...

Don't forget to reinstate the performance option - minifying and combining the files.

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, ...Changing the colour of a visited link.Changing the colour of a visited link.


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