Norm1
Forum Replies Created
-
@emdizzle I am really glad it helped.
@alfredwestlake What are you trying to add to the queue?
If you haven’t canceled out the UM stylesheets, that css code won’t work. I don’t know if I could be much help.
Have you considered hiring a freelancer? For simple edits like that, you could find one very inexpensively.
I am sad to let you know that the styles for the plugin are a bit jumbled. I ended up canceling out most everything and rewriting the css. It was a bit of a pain in the butt.
wp-content/themes/(whichever theme you are using)/functions.php
Add it to the bottom of the functions.php file
If you have need of any clarification, let me know. I might be able to help. (Sorry about the typo of ‘location’ vs ‘located’)
Open up your functions.php file locating in your theme directory:
Copy all of that above to the bottom of the functions.php file.
The list in the comments is the list of all of the css files that UM creates.
This code dequeues the particuar file that is causing you issues:
wp_dequeue_style('um_default_css');
In my case, it was most of them. Just copy and paste it, changing the part with ‘um_default_css’ to any of the ones above, like ‘um_styles’ or ‘um_members’
The only way to do it is to dequeue the UM stylesheets and add your own. At this time, because they use !important anything, you essentially must remove their styles to add your own.
In case people weren’t aware, this should be added to the functions.php file in your theme.
I can’t support this in any way, but this works for me. In the comment, you’ll see the list of all of the stylesheets you can dequeue. At the bottom, you’ll see I have a bunch set up to dequeue using
wp_dequeue_style('um_default_css');
Hope this helps.
/*-------------------------------------------- Dequeue Ultimate Member stylesheets ---------------------------------------------*/ $um_priority = apply_filters( 'um_core_enqueue_priority', 100 ); add_action( 'wp_enqueue_scripts', 'gbfl_dequeue_um_scripts', $um_priority + 1); function gbfl_dequeue_um_scripts() { /* * Fonticons * um_fonticons_ii * um_fonticons_fa * * Select2 * select2 * * Modal * um_modal * * Plugin CSS * um_styles * um_members * um_profile * um_account * um_misc * * File Upload * um_fileupload * * Datetime Picker * um_datetime * um_datetime_date * um_datetime_time * * Raty * um_raty * * Scrollbar * um_scrollbar * * Image Crop * um_crop * * Tipsy * um_tipsy * * Responsive * um_responsive * * RTL * um_rtl * * Default CSS * um_default_css * * Old CSS * um_old_css */ wp_dequeue_style('um_default_css'); wp_dequeue_style('um_responsive'); wp_dequeue_style('um_styles'); wp_dequeue_style('um_profile'); wp_dequeue_style('um_account'); /*wp_dequeue_style('um_members');*/ wp_dequeue_style('um_misc'); wp_dequeue_style('um_old_default_css'); wp_dequeue_style('um_old_css'); }
The consistent use of !important everywhere has made it so irritating.
Simple things too, like form elements. I can’t modify the selection items because everything uses !important;
.select2.select2-container .select2-selection { display: block !important; height: 40px; padding: 0 0 0 12px !important; overflow: hidden !important; position: relative !important; white-space: nowrap !important; line-height: 35px !important; color: #666 !important; font-size: 15px !important; text-align: left !important; text-decoration: none !important; -moz-border-radius: 2px !important; -webkit-border-radius: 2px !important; border-radius: 2px !important; background-clip: padding-box !important; -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; background: none !important; background-color: #fff !important; border: 2px solid #ddd !important; }
Please give us a way of overriding the styles. I’d be happy even being able to turn them off!
The devs use !important pretty often throughout the styles. This means you can’t override most of the styles, like padding, border-radius.
It’s particularly frustrating because their button styles don’t match my site.
Forum: Plugins
In reply to: [Custom Login Page by SeedProd] Won’t make changes for save themIt might be Wordfence. I’ve used your other plugins before and had no problems. Cheers!
Forum: Everything else WordPress
In reply to: Team management for an eventI’ve used Ninja Forms and GravityForms before. Hadn’t thought of using them in that way.
I’ll check out the User Submitted Posts as well.
Thanks for the suggestions.
Forum: Fixing WordPress
In reply to: Specific page titled "Resources" won't load templatePlugin conflict