Adding CSS to Override

September 2015 Joomla Template
GK User
Tue Nov 01, 2016 12:07 pm
Hi
I have a general question about how to add code to the Override file in Gavick templates. I have a number of customisations that have been suggested by extension authors; for example, to hide an icon below a My Maps map in a CB profile, the following :
#locationsearch .img-thumbnail
{
display:none;
}
The problem is, this works in the actual template.css file, but not when I add it to the override.css file.
Similarly, this, which hides the number of users in a CB list;
.cbUserListResultCount {display:none}
I'm sure there is a way to get these to work in override.css?
Thanks
User avatar
Expert Boarder

teitbite
Fri Nov 04, 2016 5:29 pm
Hi

In order for override.css to take effect You need to enable Override in template's configuration.
User avatar
Moderator

GK User
Sat Nov 05, 2016 12:41 pm
Hi
I have done this, of course, and many overrides are already working, but these don't.
Many thanks.
User avatar
Expert Boarder

teitbite
Thu Nov 10, 2016 12:01 pm
Hi

Try move this class to the top of this file. One of the classes below may not have a correct syntax and is affecting everything under it. It can also be a problem with wrong codding. For example file is codded in utf-8 but some lines may be copied from somewhere where it was codded in latin-2.
User avatar
Moderator

GK User
Tue Nov 22, 2016 7:32 pm
That fixed it, brilliant, many thanks!
User avatar
Expert Boarder

teitbite
Tue Nov 29, 2016 6:22 pm
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron