WordPress.org

Forums

Add a class to default gallery (2 posts)

  1. Robye
    Member
    Posted 3 years ago #

    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"] ??

  2. esmi
    Forum Moderator
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic