Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 3 replies, 2 voices, and was last updated 9 years, 7 months ago by
Steven Zahm.
-
AuthorPosts
-
01/09/2017 at 10:23 pm #406232
Willem Van Oort
ParticipantHi there,
Can you let me know the css to change the colour of the category bar dropdown to black. Also is there a way of adding text just above this: “Pick your Category”?
Can you also give me the CSS to highlight specific category entries – eg with background colour?
http://www.gaminginholland.com/connections-directory-test
Many thanks,
DanAttachments:
You must be logged in to view attached files.01/10/2017 at 8:57 am #406259Steven Zahm
Keymaster@ Willem Van Oort
re: Can you let me know the css to change the colour of the category bar dropdown to black.
The enhanced category drop down is actually a third party library. Changing it style is pretty difficult. But this will change the face of it black.
.chosen-container-single .chosen-single { background: black !important; border: black !important; } .chosen-container-single .chosen-default { color: white !important; }The default coloring does fit very nicely already into the theme. I’d suggest leaving it as is.
re: is there a way of adding text just above this: “Pick your Category”?
Sure, edit the page and type it above the shortcode.
**re: **
Can you also give me the CSS to highlight specific category entries – eg with background colour?
Sure, this CSS will make the back ground color of all entries in the “Bars” category pink:
#cn-cmap div.bars div.cn-entry { background: pink !important; }Tweak as desired.
Hope that helps!
01/10/2017 at 9:48 pm #406290Willem Van Oort
ParticipantMany thanks, that’s great. The only thing is that when you choose a category from the category bar, the text turns dark grey which is unreadable. What’s the code for that?
Also is it possible to put “Pick your Category” just above the category bar so that is doesn’t create more space at the top?
Thanks
01/11/2017 at 9:33 am #406322Steven Zahm
Keymaster@ Willem Van Oort
re; The only thing is that when you choose a category from the category bar, the text turns dark grey which is unreadable. What’s the code for that?
Try this:
.chosen-container-single .chosen-single { color: white !important; }re: Also is it possible to put “Pick your Category” just above the category bar so that is doesn’t create more space at the top?
Not really. One option would be to customize the CSS used to display paragraphs to remove the margin-after. This would affect the whole site. Another option would be to edit the page, switch the editor to the “Text” tab and add an inline list to the paragraph to remove the margin bottom. Something like this might work:
<p style="margin-bottom: 0;">Pick your Category</p>Hope this helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
