asurus
Forum Replies Created
-
I found out what cause the issue.
The anchor wasn’t setting correctly because of a clipPath-Element in the svg.
Some design programs are adding clipPath (or clip-path), something like that:
<clipPath id="a"> <path d="M75 0h362v512H75z"/> </clipPath> <g clip-path="url(#a)">In my case I just could remove that part, and my SVG icon design stayed intact, and it is working now with SimpleToc.
I use the free version of GenerateBlocks (also the newest version). Are you using the asset library for your custom icons?
Also, the structure of the elements looks different in the console. This is the one with the custom icon (it has “#_clip1” inside):
<g clip-path="url(#_clip1)"><path d="M74.904,113.237c0,-18.474 16.781, (....) -22.101 7.267,-22.101Z"></path></g>The integrated icon look like this:
svg aria-hidden="true" role="img" height="1em" width="1em" viewBox="0 0 496 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M248 8C111.03 (...) 0-64-28.71-64-64s28.71-64 64-64 64 28.71 64 64-28.71 64-64 64z"></path></svg>I have to add something here. I tried your workaround, and I found one special case when it doesn’t work.
This works only for GenerateBlocks with the integrated icons, not with custom icons. If I put a custom icon in the GB heading block, it creates wrong anchor links (like #_clip1 or #a).
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Premium features@tobiasbg thank you for your reply.
I missed the offer with lifetime plan. I will check it out.
Hello @brainstormteam
thank you very much!Hi Tobias,
understand and thank you for your reply.It would be great if could add a function to add the header in the stack mode. I think @best6699 means that the header row would be shown not above the other rows (with content) but next the (content) rows and repeat for every (content) row.
Like this:
Header row – Content row
Header row – Content row
Header row – Content row
So we would create a stack table with 2 columns.
Is this somehow possible to do with CSS?Great. Thank you!