Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About simona6

  • Rank
    Regular Member

Profile Information

  • Gender
  • Location
    Lincolnshire, UK
  1. don't worry, our Access Control plugin actually does it! Oddly enough. But... is there a way to apply display:none to a CSS class... based on user role. Seen loads about this. But none that are in that great detail. If we can't, then the access control is fine. but be good to hide the div!
  2. https://stackoverflow.com/questions/50907170/wordpress-if-user-role-css-class-then-display-none This seems to partially answer the question, but it doesn't state how to tell which roles will HIDE the DIV... only if it is 'logged in'. If someone is logged in they can view the Wall, but we need it hidden for customer and subscriber.
  3. Sorry the UK bit is the end of the domain.. .co.uk/?s=......... and so on. It's not a page as such. So how would I write a function that checks if they are logged in, and checks from the array of user roles. If not logged in, they we hide the DIV. But if they are logged in, but their user role is NOT one of those specified we hide the DIV.
  4. We have a search box in our website, but we want it to appear only when someone is logged in, and 'subscribed', as it reveals the shop. At the moment, they cannot access the shop, but the search would reveal shop entries. So two questions: 1) how can I assign a class based on User Role, that display: none to a search DIV within the theme? 2) "uk/?s=fred&post_type=product". How can I hide or 'redirect' this type of URL to another, based on user role? I can redirect pages, but this is not really "a page"... is it? Thanks Simon
  5. Yep think I've sorted it. It's now Capitalized.
  6. #grve-main-menu .grve-wrapper > ul > li > a, #grve-main-menu .grve-wrapper > ul > li.megamenu > ul > li > a, #grve-theme-wrapper #grve-hidden-menu ul.grve-menu > li > a, .grve-toggle-hiddenarea .grve-label, #grve-hidden-menu ul.grve-menu > li.megamenu > ul > li > a, #grve-main-menu .grve-wrapper > ul > li ul li.grve-goback a, #grve-hidden-menu ul.grve-menu > li ul li.grve-goback a { font-size: 14px!important; text-transform: uppercase!important; letter-spacing: 1.0px!important; } I see this at the top, which his what sets the fo
  7. We are trying to recreate SVG images using a theme we have used elsewhere, but in a different theme. We are able to copy the SVG code and place it into WP Bakery and it works, to a point. Example: https://www.portotheme.com/wordpress/porto/cleaning-services/ If you scroll down this page, you will see a deep blue row titled "For Residential and Commercial Cleaning". The top and bottom curves are SVG. When I copy that code and use it elsewhere, I get a top curve with a black stroke edge to it. No idea what is telling it to be black. The bottom curve doesn't work for me.
  8. I use it a lot, yes. But just cannot see what is causing the menutitle to be uppercase, when I am overriding that in my CSS.
  9. Can you show me a screenshot of both of them please. I've got important set on the Main Menu alonig the top, but cannot see two .menutitle classes with both those options.
  10. I've been doing work on this website recently. I've set the main menu to be CAPS, but for some reason I cannot override the Mega Menu titles to be Capitalized. They have their own Class "menutitle", but even with that set as "Important", and nothing that appears to be loading after, I cannot see the cause. https://www.79design.org.uk I'd appreciate anyone spotting the cause to this. Thank you. Click/Hover on Services to see the menu.
  11. Rolled it out on a few other pages now. They load instantly. Good intentions from Bakery, but better to let the designer control it I think. Anyway.... at least I can control it using this method. Thanks for your help.
  12. You are dead right. I've replaced the Image WP Bakery method with the Text Box method, and a little CSS to take any padding off around it, and it loads instantly. It must be part of WP Bakery! In that case I'll setup a CSS class to cater for all those curves, and re-assign them with that method. Thanks a lot. Just wish I could ascertain where in Bakery it is doing it. As the otheres, the tiles below it, they do it. They use the Image element. I dont' care abotu those fading in... but would be nice to have the control!
  13. So no way to see what Javascript file (code within the file) is causing it, as then I could narrow down where it is coming from - ie, theme folder or plugin folder...
  14. Found this.... something about it not loading straight away...? Not sure if that is fonts only tho on a preload.
  15. The theme doesn't have any setting for lazy loading. We use to do it via Fastest cache, but we no longer use that plugin. Can you show me what code or what you have found that alerts to you Lazy Loading, if only for that image? I notice on the smaller 'tiled' images below, they do it too, when you refresh the page.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.