Support » Fixing WordPress » Add a class to default gallery

  • Robye

    (@robye)


    i guess if theres a way to add a class to a default gallery
    For example, i’ve a
    [gallery link="file" columns="4"]
    can i give a specific css class at that gallery, something like [gallery class= "red" link="file" columns="4"] ??

Viewing 1 replies (of 1 total)
  • esmi

    (@esmi)

    Forum Moderator

    No but depending upon your theme, you may be able to target CSS using different rules.

Viewing 1 replies (of 1 total)
  • The topic ‘Add a class to default gallery’ is closed to new replies.