Background Color on Widget
-
Where can I change the Background Color on the Widget? Now it´s light yellow. And even lighter on hovering.
-
Will be a style in your theme. Link?
Are you sure? None of the other widgets turn up yellow like that. Well the site is under development at http://jobmore.creategreat.se/
The margins are also narrow. And the | are way to close to the words.
Looks like it’s list styles for the job listings, not the widget styling, look here: http://glui.me/?i=gk6q601i68qrzmz/2013-12-21_at_17.51.png
This job has the background colour because its a featured listing.
So, you can add some additional styles to change the colours of featured listings and tweak paddings/margins if you wish. You can add the custom css to your theme’s stylesheet.
Thanks. Should have found that, but it was a bit tricky depending on where you held the mousepointer over the widget to fetch the right code.
Did change the frontend.css in the jobmanager-plugin folder, so that worked.Now the padding round the | remains.
Hard to find where to increase the padding. The text after the | is to close.
Found this code in frontend.css but I don´t know which one it is. If it´s right.:.widget ul.job_listings li.job_listing ul.meta{float:none;width:auto;padding:0;margin:0;text-align:left}.widget ul.job_listings li.job_listing ul.meta li{float:none;display:inline;padding:0;margin:0 .5em 0 0;font-weight:400}.widget ul.job_listings li.job_listing ul.meta li:after{padding:0 0 0 .5em;content:”\2023″}.widget ul.job_listings li.job_listing ul.meta li:last-child:after{content:”}.job-manager .job-type,.job_listing
I also have a job listning that is expired, but I want it to show anyway. Works for a while but disapears. Then I have to go back to that listning and publish it again…
The plugin hides expired listings by design.
Regarding your CSS changes, best to do them in your theme/child theme because when you update the plugin your changes will be lost.
You don’t need to change existing styles, just add new ones of your own. For instance, you can add padding the the li or a element within that list in the widget.
Hope that makes sense.
Ok – but you have an option where I can choose to display expired listings? That doesn´t work.
I want them to show, but maybe in a different color. Light grey text maybe instead of the black.I´m not that good in CSS. Whre can I add padding to the li or a element within that list in the widget? What code should I write?
THANKS FOR EVERYTHING ALREADY!
Also when I go to joblistings in the adminarea and look at an expired listning it´s unpublished. I manually have to press publish again. Then it shows. But after a while it disapears again.
There is no option about displaying expired listings – where do you see this?
I mean Filled listings. There´s an option in settings for that. But I also want to show expired listnings.
And get som CSS for the widget to be readable.
If you are talking about a filled listing then (faded out) it’s the opacity rule: http://glui.me/?i=vb8px48dsij2r3e/2014-01-02_at_18.38.png/
You can add some CSS with opacity:1 to make it not-faded. There are ample tutorials on the web about CSS, so the information is out there, otherwise I would encourage you to hire a dev to make the customisations for you. I can guide you only.
To have expired jobs visible, you’ll need to add this to your theme functions.php file:
add_filter( 'job_manager_get_listings', 'custom_job_manager_get_listings' ); function custom_job_manager_get_listings( $args ) { $args['post_status'] = array( 'publish', 'expired' ); return $args; }
Thannks, but the CSS is for the widget. Still a problem with that which we talked about earlier.
It doesn’t matter what is outputting the HTML, the CSS can go in your theme. CSS cascades (you can override rules from your theme stylesheet).
- The topic ‘Background Color on Widget’ is closed to new replies.