1. SP Page Builder 3.x
  2. Saturday, 22 August 2020
Hi,
at https://www.spaenhovenmode.be/index.php/nl/collectie there are several tabs available.
Is it possible to make 1 (or more) tab invisible? Or do I have to delete the one I don't need now?
In this case, my client wants to add some pictures for the next season, but they may not yet be visible for the public.
Any suggestion? (they only have access via the frontend editor.
Thanks in advance
Guy
Accepted Answer
Hi,
You may use the nth-child rule of CSS to hide a specific tab!
Here is a sample code for you and this will hide your 3rd tab from the beginning:

body.com-sppagebuilder.view-page .sppb-nav-tabs>li:nth-child(3)
{ display: none; }

Note: Path towards custom CSS:
Extensions>Templates>Styles>
Click on your current default template name then choose Template Options.
Then find custom CSS within the custom code.
https://prnt.sc/pu705g
https://prnt.sc/pu70zn

Hope this helps!

Best Regards
  1. more than a month ago
  2. SP Page Builder 3.x
  3. # Permalink
Responses (5)
Thanks
Guy
You are always welcome!
  1. more than a month ago
  2. SP Page Builder 3.x
  3. # 1
Thanks
Guy
  1. more than a month ago
  2. SP Page Builder 3.x
  3. # 2
Hi,
Yes, you can use the addons' own Custom CSS place too.
And the following blog post may help you:
https://www.joomshaper.com/blog/which-line-of-css-i-have-to-edit-code-inspector-in-action

Best Regards
  1. more than a month ago
  2. SP Page Builder 3.x
  3. # 3
Hi Rashida,
Works perfect. Thanks!

But what can I do if I have 2 pages with the Addon Tabs? I see that the Addon Tabs also his own method 'Custom CSS'. Isn't it saver to use that place?
And that leads me to the next question: where can I find some documentation to figure out what the correct syntax would be in this 'Custom CSS' to do the same? (I'm a new with this kind of programming...)

Thanks in advance
Guy
  1. more than a month ago
  2. SP Page Builder 3.x
  3. # 4


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.