CSS color override

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sun May 11, 2014 3:25 pm
Reply with quote
Report this post
I have NSPGK5 News module setup in sidebar-left as in Demo News 2 site. Originally it was all black with white text as in the demo. However once I added some other modules to the mainbody home page, it changed to having a white centre with black text.
Seems like some CSS got overridden. Image

What CSS override can I use to get this back to all black with white text? I did see a nice forum post on this with images of white, black and red modifications in this module but I can't find it anymore.
User avatar
Senior Boarder

GK User
Sun May 11, 2014 3:33 pm
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Mon May 12, 2014 3:14 pm
Reply with quote
Report this post
Ok. It's under development on localhost but it's easy to upload to the online site using Akeeba Backup.
I'll need your permission to email you login details and it's also behind a security login/password. Will let you know when it's available online.
User avatar
Senior Boarder

GK User
Mon May 12, 2014 4:15 pm
Reply with quote
Report this post
Please upload the site online and send me a PM with:
1. URL to your website
2. login and password of user with login privileges (please create one for me)
3. link to this thread
User avatar
Moderator

GK User
Mon May 12, 2014 6:29 pm
Reply with quote
Report this post
I sent the info asked for.
User avatar
Senior Boarder

GK User
Tue May 13, 2014 1:39 pm
Reply with quote
Report this post
Could you also look a why the Control Panel keeps telling me there is an update for Highlighter GK5. I have clicked on the update link a few times and also downloaded and then uploaded to install the updated module but it still gives the update notice.
User avatar
Senior Boarder

GK User
Thu May 15, 2014 3:49 pm
Reply with quote
Report this post
User avatar
Moderator

GK User
Thu May 15, 2014 7:50 pm
Reply with quote
Report this post
In that case, I set the Advanced settings in Tabs to "use CSS" to "force disabled." I dont see a similar setting in News Show Pro GK%. The Advanced Module style gives the same black border/white centre whether I use inherited or gk-style. I've also tried the system settings in News Show GK5 to the different system settings (none, html5, outline etc) but still cannot get the black centre,

I'm not seeing something here, I guess. Not sure what else to try.

It was the correct colour originally but changed once I put modules in mainbody position.
User avatar
Senior Boarder

GK User
Mon May 19, 2014 4:50 pm
Reply with quote
Report this post
In "External files" section of module configuration there is a setting:
'Use default css' - and you had it turned on. I have switched it off. After cache reloads it should fix the problem. You could also clear cache on your own.
User avatar
Moderator

GK User
Mon May 19, 2014 7:25 pm
Reply with quote
Report this post
I had it off in my localhost version. In any case clearing the cache, waiting, using a different browser and using a different computer still gives we the white centre with a black border instead of all white. Puzzling.
User avatar
Senior Boarder

GK User
Tue May 20, 2014 9:56 am
Reply with quote
Report this post
In that case:
please edit: /templates/gk_news2/css/override.css and add at its end:
Code: Select all
.nspLinks .nspLinkScroll1 ul li {
background: #000 !important;
}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Tue May 20, 2014 3:54 pm
Reply with quote
Report this post
The trouble with that is that it makes everything on the home page black -take a look. On the demo site only the "News" background is black while all the others are white. That's what I"m after. It should be doable as it's on the demo.
User avatar
Senior Boarder

GK User
Thu May 22, 2014 7:39 pm
Reply with quote
Report this post
Please change it to:
Code: Select all
.box.dark. .nspLinks .nspLinkScroll1 ul li {
background: #000 !important;
}
User avatar
Moderator

GK User
Fri May 23, 2014 3:10 pm
Reply with quote
Report this post
It has now removed the black from the other items on the front page that the last override introduced but it still leaves the News block with a white center and a wide black surround as before as shown in the image in the first post in this post.
User avatar
Senior Boarder

GK User
Mon May 26, 2014 8:11 pm
Reply with quote
Report this post
Sorry, I have made a typo. This should fix it:
Code: Select all
.box.dark .nspLinks .nspLinkScroll1 ul li {
background: #000 !important;
}
User avatar
Moderator

GK User
Tue May 27, 2014 3:40 am
Reply with quote
Report this post
Yes, that did the trick. Thanks again.
User avatar
Senior Boarder

GK User
Wed May 28, 2014 3:14 pm
Reply with quote
Report this post
No problem.
If you will have any other questions, feel free to post new forum threads - it allows us to answer you faster.
User avatar
Moderator


cron