-
Author
-
October 10, 2016 at 16:07 #138842wilfriedMarseilleParticipant
Hello,
I’m making the design of my BuddyPress Profile.
I got 3 problem. I succed to resolv 2 of them, but i’m not sure by the process.
If you look the pic number 1, when a part of the form is a checkbox, i don’t get label but legend and the CSS is not the same. I succeed to change it by CSS with this CSS code :.legend {
font-size : 16px;
color : black;
}
But I don’t find how can I align the “Legend” like the Label Name
2nd problem
i would like hide the “this field can be see by all user” ( ce champ peut être vu par tous “in french” ).
I found a solution but i’m not sure by the way.
I just add this CSS code :
#buddypress .field-visibility-settings-notoggle {- visibility: hidden;
}So in reality i just the problem to align legend and label.
But I’m not sure than my CSS modification that the best Way for my 2 first problem.
( May be is better to duplicate a Kleo Theme Page in the Kleo Child theme to modificate it directly in PHP ? )
If yes do you know wich file i have to duplicate ?Thanks you 🙂
The URL is : http://www.zikrea.com/membres/wilfried-zikrea/profile/edit/group/1/ ( But you need an account )If you love Ableton check my blog :
www.zikrea.comAttachments:
You must be logged in to view attached files.October 10, 2016 at 20:24 #138906RaduModeratorHi,
Try to hide that with this CSS
COPY CODE.field-visibility-settings, .field-visibility-settings-toggle, .field-visibility-settings-notoggle { display: none !important; }
If you want to modify this directly to the php files just copy this file wp-content/themes/kleo/buddypress/members/single/profile/edit.php to /wp-content/themes/kleo-child/buddypress/members/single/profile/edit.php
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 11, 2016 at 17:55 #139077wilfriedMarseilleParticipantThanks,
But to align my checkbox field legend,
With my edit Field Label
Do you know how can i do that ?( Look the pic 1-5 .png ) But now is in the same Design but is not align …
If you love Ableton check my blog :
www.zikrea.comOctober 12, 2016 at 16:51 #139271RaduModeratorHi,
That cannot be aligned because it’s wrapped in a container that generates a padding and margins and use this instead
COPY CODE.checkbox legend {font-size: 2em;color : black;font-weight: bold;margin-left: 10px;padding: 20px 0;list-style-type: circle;display: list-item;}
It will differentiates for the values
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.