Hello, I'm a wordpress user & I can do some basic CSS, but conditional logic generally defeats me. I would like to change the background color of the menu bar after users log in. In general terms, how would I go about this? Thanks in advance for any guidance.
Hi Carl, The easiest way is
Hi Carl,
The easiest way is to see if any attribute or class is added to a tag such as Body once you have logged in.
That's not there when not logged in.
For example:
<body class="logged-in">
Then you can use that to to target the menu.
.logged-in .menu{ background-color: red; }
Since i don't have your site address this is just a guess.
Hope that helps.
I really don't have much
I really don't have much knowledge about web design but this is also the fact that its not an easy job to design a simple and explanatory design in a couple of hours. I have remembered the days, when i have designed from an affiliate website design ileaddigital.com/services/web-design/affiliate-cms-development It takes almost 4-5 weeks for responsive and attractive website. Anyways, i came to know few thing about web designing after reading your nice piece of content. Thanks for it.