This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Siteorigin custom CSS a few feature suggestions from marryadevotee

7 years ago · Last reply by Alex S 7 years ago

Thanks – this looks great – and works great.

I have an idea – I dont know if you can do it..

Suppose a Buddpress member Max visits the profile of Jane – then he sees her profile – On the left will be Profile – then below it Friends .

On the right will be another VIEW and then the tabbed profile.

Can we remove Friends -conditionally – that is – Max cannot see that Tab – and none else – only Jane can see her Tab.

Also can we also remove the View – line – since it just takes space – no utility – for a visitor – or for Max – but shows only for Jane – she also sees the Edit and others too.

Thanks

www.marryadevotee.com

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Alex S Staff 7 years, 7 months ago

    Hi Mahaprabhu,

    CSS isn’t very smart. In fact, it’s quite dumb. You can only use some really basic logic and even then, most of that logic isn’t very usable at this time due to lack of browser support (@import and @media are the exceptions). You can’t do if/else so what you’re trying to do is effectively impossible without a lot of additional PHP (or JavaScript) to add body classes of all of the possible variables you may want to check. Unfortunately, that’s beyond the scope of what we can help you with on our forums, but you could hire a developer to implement this for you. We recommend using Codeable. You’ll be able to hire someone at an hourly rate to do this work for you. I’m sorry mate. :(

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread