CSS based on Profile Fields

CSS based on Profile Fields

by Richard Newton -
Number of replies: 0

Hi there,

I'm trying to work out a way to show/hide/affect the CSS of a class/id depending on a the content of a user profile field.

Specifically I'm trying to hide certain entries in the Custom Menu. I don't want users with (or without) a certain Checkbox profile field checked.

I know you can hide certain Custom Menu entries based on a users language, but for the life of me I can't work out where this if statement (if it is an IF statement) in the PHP files and to see if I can engineer it to work with profile fields instead.

Any help would be greatly appreciated.

Richard

Average of ratings: -