• Resolved pwcredia

    (@pwcredia)


    Is it possible to switch off or hide the cryptic classes that are created for each element in the source code?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Miles

    (@areoimiles)

    Hi @pwcredia,

    Thanks for reaching out. I’ll do my best to assist.

    Would you be able to provide a little more detail around the problem you’re facing? It would be good if you could give me an example of the cryptic classes you’re talking about and just explain how these are causing you problems.

    If you can provide this, hopefully I can help you with a solution.

    Thanks
    Miles

    Thread Starter pwcredia

    (@pwcredia)

    If I create an element from All Bootstrap Blocks then a generic class is added to this element which is visible in the page source code, which is basically very unattractive if you have several elements and these strange classes are visible everywhere. Is there not a way to hide these classes?

    Thanks,
    Patrick

    Plugin Author Miles

    (@areoimiles)

    Hi Patrick,

    Thank you for the additional detail. I just want to check is it classes that look like this block-549dc7a2-5815-4090-9fb1-c6050099408f that you’re referring to?

    If so, these are essential for the plugin to function correctly. These are dynamically created classes that are unique for each block and make it possible for the plugin to apply styles within the head of the site.

    For example within the plugin, if you change the padding or margin for a block using the settings panel, the plugin will then generate styles and attach them to this unique class, without it that wouldn’t be possible. Here’s an example of a style that gets created when I apply padding to a block.

    .block-549dc7a2-5815-4090-9fb1-c6050099408f {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    For any additional classes that are added other than the default Bootstrap classes, there is most likely a reason for it and removing them would have knock on effects for the plugins functionality.

    Hopefully, this clears it up for you but if not, please let me know and I will try my best to help you.

    Thanks

    Miles

    Plugin Author Miles

    (@areoimiles)

    Hi Patrick,

    I haven’t heard anything back on this so I’m going to mark the ticket as resolved. However, if I haven’t answered your question sufficiently then please feel free to open the ticket back up and I’ll do my best to help.

    If you need help with anything in the future, please don’t hesitate to get back in touch.

    Thanks
    Miles

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Automated Classes’ is closed to new replies.