Bucky
Forum Replies Created
-
Forum: Plugins
In reply to: [BadgeOS] Achievements Section in BP ProfileI managed to get it via css. However, I looked into the load ordering concept and that was interesting. I now know the load order for my theme. Thanks for the help.
Forum: Plugins
In reply to: [BadgeOS] Achievements Section in BP ProfileMichael,
I’m not sure how to identify or locate a stronger selector, or edit load order.
Here is what I did:
#badgeos-achievements-container { border-top: 1px dotted #aaa; border-style: none; /*added css*/ } /*added css for last child*/ .badgeos-achievements-list-item:last-child { border-style: none;I decided to only remove the very top border and the bottom border from the last list item. This is in the badgeos-front.css file.
Forum: Plugins
In reply to: [BadgeOS] Achievements Section in BP ProfileThanks Michael. Found and it and took care of it. Unfortunately, the edit was getting overwritten in the custom.css so I had to edit the plugin badges-front.css file. I just have to keep a note of that for when I update.
Forum: Plugins
In reply to: [BadgeOS] Achievements Section in BP ProfileIt’s not getting overwritten. I forgot to put up there that it actually works, haha. That may have been useful info. I was just looking for a check from someone more experienced. I’ve pretty much ironed everything out I was looing for. I’m using this css to remove the points and show details for now:
/*removes points from badgeos list items*/ .badgeos-item-points { display: none } /*removes show details from badgeos list items*/ .badgeos-item-attached { display: none; }One last thing. How can I remove the dotted line dividers that badgeos puts in?
Forum: Plugins
In reply to: [BadgeOS] Achievements Section in BP Profilefunction bp_profile_menu_tabs_change(){ global $bp; $bp->bp_nav['achievements']['position'] = 100; /move achievements infront of settings*/ $bp->bp_nav['settings']['position'] = 101; /*move setting after achievements*/ $bp->bp_nav['achievements']['name'] = 'challenge coins'; /*change "achievement to "challenge coins"*/ $bp->bp_options_nav['achievements']['community']['name'] = ''; /*clear submenu of achievement name types in achievement list area of profile*/ } add_action('bp_setup_nav', 'bp_profile_menu_tabs_change', 201);Clearing the submenu of achievement types only makes sense if you wish to display only a single type of achievement of course so this may not be desired by many people, but it is what I need.
Could you tell me if this code appears loop-whole-less (haha) for my intenions?
Next I am going to look into removing the points amount and show details drop down from achievement list items. I’ll probably end up doing this with css.
Forum: Plugins
In reply to: [BadgeOS] Achievements Section in BP ProfileOkay. I’ll check out that bp-component bit and badgeos file. Thanks.
Forum: Plugins
In reply to: [BadgeOS] Centering a Nomination FormMichael,
I decided to go a different route so I told my theme support to close out the support topic and I figured I would let you know as well. I never resolved it, but that is not the reason for my change in route anyway, and being that I doubt I will return to this you can close this topic out as well. Thanks… Ryan
Forum: Plugins
In reply to: [BadgeOS] Centering a Nomination FormOkay. Thanks. Must be something with my themes styling. I’ll see what they have to say.
Forum: Plugins
In reply to: [BadgeOS] Centering a Nomination FormMichael,
Would it be okay if I emailed you some login information. It’s a member website so I set you up with an account. I tried the select approach and couldn’t get it, but I may have done it incorrectly.
Forum: Plugins
In reply to: [BadgeOS] Centering Submission FormI used the following to center all of the items of the submission forms.
/*centers p elements of badgeos * badgeos submission forms*/ .badgeos-submission-form p { text-align: center; } /*center "Create a New Submission*/ .badgeos-submission-form legend { text-align: center; width: 100%; } /*adjusts badgeos submission form label*/ .badgeos-submission-form label { margin-left: 60px; }All worked out. Thanks for checking in.
Forum: Plugins
In reply to: [BadgeOS] Centering Submission FormI was able to center the submit button with
p.badgeos_submission_submit { text-align: center; }but have not been able to center the “Create a New Submission” text, the “Attatchment:” and upload button, and the text area.
Forum: Plugins
In reply to: [BadgeOS] Centering Submission FormI prefer using CSS in my custom.css, but it simply isn’t working. I’ve tried the classes with:
text-align: center;
margin: 0 auto;
margin-left: auto; margin-right: auto;
nothings seems to work. I don’t think the elements can be centered.
Forum: Plugins
In reply to: [BadgeOS] Centering Submission FormI’m using visual composer and I’ve tried doing a custom class and css, but that hasn’t worked. This is from the worpdress text editor:
[vc_column width=”1/1″][vc_column_text][badgeos_submission][/vc_column_text][/vc_column][/vc_row]
Is this where I would use the div tags? I don’t quite understand how to do what your proposing. I think using visual composer is conflicting with your solution perhaps b/c the text editor has vc shortcodes rather than html tags? I’m preparing to present this website soon and centering all of these submission forms is pretty much my final step. If I send you some login credentials could you center a couple for me, and I can do the rest if I just see how its done?
Forum: Plugins
In reply to: [BadgeOS] Centering Submission FormI think I correctly located all of the classes. Here is what I have:
.badgeos-file-submission //upload button and text
.badgeos-submission-comment //text box
.badgeos-submission-submit //submit button.badgeos-submission-form //this encompasses all of the elements above
I wasn’t sure about the “Create a New Submission” text. It doesn’t have a class it is just an h4 between <legend><h4>Create a New Submission</h4></legend>. So not sure how to point at that.
Now I need a little help with the proper CSS rules. I know it should look something like the following:
.badgeos-file-submission, .badgeos-submission-comment,
.badgeos-submission-submit {What goes here?
}
If you know how to incorporate the Create New Submission to be centered as well with the info I have given you please tell me how to do that too. I’m in the process of learning, this was a good little learning experience.
Forum: Plugins
In reply to: [BadgeOS] Centering Submission FormSorry Michael I didn’t realize one additional thing. I want all of the submission forms across my site to be centered on their respective pages. So the example above is a specific submission form (the only stand alone submission form I have), and I have a number of different achievement types with lists of achievements, which I use the list shortcode for. For specificity here is an example, [badgeos_achievements_list type=”a-mans-life” limit=”10″ show_filter=”true” show_search=”false” orderby=”menu_order” order=”ASC” wpms=”false”]. Let me know if this all makes sense. Simply put, if there is a badgeos submission form on a page I would like it centered.