Jump to content


  • Posts

  • Joined

  • Last visited

Profile Information

  • Gender
  • Location
    Lincolnshire, UK

simona6's Achievements

Advanced Member

Advanced Member (4/5)



  1. so in CSS, you can only affect what area you are clicking on, or what comes after. NOT before....? Never knew that.
  2. So if for example you had this: <div class="one">hello 1</div> <div class="two">hello 2</div> <a class="hover">hover here</a> You cannot hover over the <a> tag and change any design feature of "one" or "two". as the <a> tag came after it? REALLY???
  3. So if the columns in the Page Builder each have a Class name, and you hover Class ".col1", you cannot make col2 and col3''s opacity change in CSS? I'm able to do Col2 and col3 if I hover over Col1. But what it won't do, is affect any column to the left of the one you are hover. Col2 hover : Works on Col3, but not Col1. Col3 hover : Does not work on 1 or 2. Also, I want to change the background image of the parent DIV hovering over col1, (and 2/3) but I cannot make it do that either/ I've tried this: .bg-row .grve-background-wrapper { background-image: url("/wp-content/uploads/2022/06/filename.jpg"); background-size: cover; } .col1:hover .bg-row .grve-background-wrapper { background-image: url("/wp-content/uploads/2022/11/filename2.jpg"); } .bg-row:hover ~ .bg-row .grve-background-wrapper { background-image: url("/wp-content/uploads/2022/11/filename2.jpg"); } I just assumed you could say: col:hover ... affect Col2 and Col 3 opacity. Simple.
  4. We have been asked to setup a page with three columns. When you hover over one, the other two disappear (opacity). I can do it so it hides one, but not both. So if you hover over the middle the side two disappear. How do you do it? I also want to change the background image when said DIV is hoverred (bad design, but it's what they want). .col1:hover .col2 { opacity: 0; } .col1:hover .col3 { opacity: 0; } .col2:hover ~ .col1 { opacity: 0!important; } .col2:hover ~ .col3 { opacity: 0!important; } .col3:hover ~ .col1 { opacity: 0!important; } .col3:hover ~ .col2 { opacity: 0!important; }
  5. We have come across a problem, that is solved on many other websites. Let's say you have a shop website, with Mens, Womens, Housing... and so on. On Desktop you hover over Mens and up comes the menu. But on Tablet, you tap on Mens and up comes the menu. But in WordPress this doesn't happen. when you Tap Mens it goes to the Mens page. Is there a simple JS or Functions.php that can be added, so that the 'first tap' simply expands the menu, and a second tap opens the page. Great examples are these: https://www.johnlewis.com https://www.houseoffraser.co.uk Both have main menus, and the dropdowns work. and only open their parent pages on the SECOND tap. You might select Mens or Womens, and the dropdown menu appears. When you select Mens again, it goes to the 'Mens' page. How do you achieve this in WordPress? I found this possible answer: https://www.tbare.com/2014/04/disable-click-on-wordpress-parent-menu-with-children/, but annoyingly, his answer is how to disable it completely, but is it a means to a solution? I want his "Safari on iOS handles SuperFish pretty well – the first tap drops down the menu, and the second tap will actually take you to that page"..... Can his coding be tweaked so that for these parent menu links, they open the page on 'taps'... on only the second tap? Can someone please help, so we can add a script that does it perfectly?
  6. I've to a strange problem with some basic HTML and CSS. I know you can put a <span> inside a <div> and it will show inline, such as using additional classes on inline text. For some reason, ours seems to 'block' to the next line. .grve-title > span { display: inline-block; white-space: nowrap; } With this set, our Spans are going to the next line, but only if the span is long. So if you have a span that is longer than the container, it will wrap. If it is one word, it won't. Any ideas?? If I deselect the display part of this class in Inspection, it doesn't block at all, it just goes to default. I don't however know how to disable this "display: inline-block"?!
  7. thanks. Sadly WP Bakery's free version has no support, but we have the same issue on a paid theme that has good support, so referred it to them. If they get it sorted, i'll post on here how it got working.... if it does.
  8. Why should it be avoided? Shame WP Bakery cannot do it, especially when there is the checkout that it states can do it....
  9. So if I Opted for the method I mentioned..... A row of two columns (text in first). Hide first col on mobile. Add second row, copy that text in there. Hide that row on desktop screens, but show on mobile. Is that acceptable in SEO? I ask as I was always told that hiding *anything* is bad, even if you show and hide depending on media size. Simon
  10. Great - so how do you do it? The other idea is to add another row, with the same text, hide for all devices bar mobile, and them hide the left column on mobile. So when the screen is smaller, one disappears, the other shows. But I thought hiding and showing content is bad for SEO.
  11. https://themenectar.ticksy.com//article/11298/ This is what I am trying to do, but on mine, it fails every time. I do have that RTL checkbox, which I Assumed would just do it.. but no. so I did the class and the CSS but again, no.
  12. So using WP Bakery, can you see how I make it work, as I was told that's all I needed to do. Assign that class to the row. And it should just reverse.
  13. You see "Left" and "Right". In WP Bakery they are two columns. The 'row' has class: home-promo-client-left assigned to it, with the CSS quoted above. I want that CSS to switch it around on a mobile device. So on a mobile, Right goes 'above' Left.
  14. https://www.79design.org.uk/direction/ We are trying to use WP Bakery's tools, and the Flex Direction CSS. @media only screen and (max-width: 1000px) { .home-promo-client-left img, .home-promo-client img { max-width: 92%; margin-left: auto; margin-right: auto; } .home-promo-client-left { margin-right: auto; margin-top: auto; display: flex !important; flex-direction: column-reverse; } } We have this in the page. The image part is for another page, but the column reverse for mobile is being ignored. Any ideas why?
  15. Hi. I think it is something in the theme doing it as I added two rows with an icon on the second one on a different WP theme, and it did exactly as expected. Moved up with a minus top margin, no z-index needed (as I agree.. that can cause other issues). And went over the upper Div. So I will refer it to our theme devs. What should work in CSS, is being ignored for some reason.
  • 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.