[xwiki-users] css colors not changing AAARGH
I have a bunch of documents in a space called Procedures. This is an App Within Minutes space, so the documents are viewed through a ClassSheet. I wanted to change the color of links within that space alone, so the first thing I tried was to attach an object to the ClassSheet of type StyleSheetExtension, and in it I put: .wikilink { color: blue; } But that didn't change the color. So then I tried putting it directly in the ClassSheet body, like this: {{html wiki="false" clean="false"}} {{/html}} But THAT didn't change the color either. I looked at the page source, and you can clearly see the style embedded in the page, and the link identified as class='wikilink'. So then I said "screw it, i'll just change link colors on the entire wiki". Guess what? I went to the "administer wiki", "look and feel" (flamingo btw), "presentation", "color theme"(garden btw), "customize", changed the @link-color value, you can CLEARLY see in the preview that all links are the new color, and yet NOTHING HAPPENS!! the colors of my entire wiki remain the same, even though if you go back and double check the color customization the new color is still there, and the preview still looks like I want it too look. Sometimes XWiki is just too convoluted. What am I doing wrong?! Dan -- View this message in context: http://xwiki.475771.n2.nabble.com/css-colors-not-changing-AAARGH-tp7599554.h... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello Dan, If you want to change the appearance of the links having "wikilink" class, you should apply your style rules to the ".wikilink a". Hope this helps! Alex On Fri, May 20, 2016 at 9:35 PM, dullfig <dan.u@grmcompany.com> wrote:
I have a bunch of documents in a space called Procedures. This is an App Within Minutes space, so the documents are viewed through a ClassSheet. I wanted to change the color of links within that space alone, so the first thing I tried was to attach an object to the ClassSheet of type StyleSheetExtension, and in it I put:
.wikilink { color: blue; }
But that didn't change the color. So then I tried putting it directly in the ClassSheet body, like this:
{{html wiki="false" clean="false"}}
{{/html}}
But THAT didn't change the color either. I looked at the page source, and you can clearly see the style embedded in the page, and the link identified as class='wikilink'. So then I said "screw it, i'll just change link colors on the entire wiki". Guess what?
I went to the "administer wiki", "look and feel" (flamingo btw), "presentation", "color theme"(garden btw), "customize", changed the @link-color value, you can CLEARLY see in the preview that all links are the new color, and yet NOTHING HAPPENS!! the colors of my entire wiki remain the same, even though if you go back and double check the color customization the new color is still there, and the preview still looks like I want it too look.
Sometimes XWiki is just too convoluted.
What am I doing wrong?!
Dan
-- View this message in context: http://xwiki.475771.n2.nabble.com/css-colors-not-changing-AAARGH-tp7599554.h... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
ill give it a try. thanks. Dan From: Alexandru Cotiuga [via XWiki] Sent: Tuesday, May 24, 2016 12:11 AM To: dullfig Subject: Re: css colors not changing AAARGH Hello Dan, If you want to change the appearance of the links having "wikilink" class, you should apply your style rules to the ".wikilink a". Hope this helps! Alex On Fri, May 20, 2016 at 9:35 PM, dullfig <[hidden email]> wrote:
I have a bunch of documents in a space called Procedures. This is an App Within Minutes space, so the documents are viewed through a ClassSheet. I wanted to change the color of links within that space alone, so the first thing I tried was to attach an object to the ClassSheet of type StyleSheetExtension, and in it I put:
.wikilink { color: blue; }
But that didn't change the color. So then I tried putting it directly in the ClassSheet body, like this:
{{html wiki="false" clean="false"}}
{{/html}}
But THAT didn't change the color either. I looked at the page source, and you can clearly see the style embedded in the page, and the link identified as class='wikilink'. So then I said "screw it, i'll just change link colors on the entire wiki". Guess what?
I went to the "administer wiki", "look and feel" (flamingo btw), "presentation", "color theme"(garden btw), "customize", changed the @link-color value, you can CLEARLY see in the preview that all links are the new color, and yet NOTHING HAPPENS!! the colors of my entire wiki remain the same, even though if you go back and double check the color customization the new color is still there, and the preview still looks like I want it too look.
Sometimes XWiki is just too convoluted.
What am I doing wrong?!
Dan
-- View this message in context: http://xwiki.475771.n2.nabble.com/css-colors-not-changing-AAARGH-tp7599554.h... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [hidden email] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [hidden email] http://lists.xwiki.org/mailman/listinfo/users -------------------------------------------------------------------------------- If you reply to this email, your message will be added to the discussion below: http://xwiki.475771.n2.nabble.com/css-colors-not-changing-AAARGH-tp7599554p7... To unsubscribe from css colors not changing AAARGH, click here. NAML -- View this message in context: http://xwiki.475771.n2.nabble.com/css-colors-not-changing-AAARGH-tp7599554p7... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
Alexandru Cotiuga -
dullfig