Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1038094

    I have recently joined on with Mediavine for ad placement on my site. They are having a hard time automatically placing in-content ads because I’m using the Avia builder. More specifically, they can do it, but the challenge is that the structure of my posts varies by post, so they can’t come with a uniform code insertion that’s guaranteed to target the correct areas on each post.

    Their suggestion is that I add an ID or a specific class like “inner-content” to the single text block that my content is in, which would then allow them to target that ID or class for ad placement. However, I cannot figure out how to do that–I can add an ID to a color section, but not a text block.

    Is there a way to add an ID or class to a text block?

    Thanks so much for the help!

    #1038592

    Hey Uncannystevo,

    Yes, go to Enfold > Layout Builder > then check Show element options for developers
    Go to your page and edit text block, you should find Custom Css Class field, fill in any text there and that should be the class of your text block.
    Hope this helps.

    Best regards,
    Nikko

    #1040073

    Thanks, Nikko–this worked perfectly!

    #1040156

    Hi Uncannystevo,

    Glad that we’re able to help :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Add ID or class to a Text Block?’ is closed to new replies.