Title: Style question
Last modified: July 30, 2019

---

# Style question

 *  [uwew](https://wordpress.org/support/users/uwew/)
 * (@uwew)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/style-question-2/)
 * Would it be possible to pass style arguments into the shortcut – that way I could
   determine how many columns are displayed, which background color for each category…
   and so on. Plus I would not need to “hack” you’re stylesheet and fear to be over
   written in future releases…
 * Thank you in advance,
 * Uwe
    -  This topic was modified 6 years, 8 months ago by [uwew](https://wordpress.org/support/users/uwew/).

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Igor Benic](https://wordpress.org/support/users/ibenic/)
 * (@ibenic)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/style-question-2/#post-11784411)
 * Hi [@uwew](https://wordpress.org/support/users/uwew/),
 * Not sure about the background color for categories but I could put a class formed
   from the category name if you would like that? Can you explain me more how you
   see that option to work, so I can know what to do?
 * As for the columns, I’ll check that also.
 * I plan to make this available as a Gutenberg block as well so it should be even
   easier to create such layout.
 *  Thread Starter [uwew](https://wordpress.org/support/users/uwew/)
 * (@uwew)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/style-question-2/#post-11784464)
 * Yes, a style class with the category name/slug would be great. All I’d have to
   do then is create my own Stylesheet entry that supersedes your‘s…
 * Thank you,
 * Uwe
 *  Plugin Author [Igor Benic](https://wordpress.org/support/users/ibenic/)
 * (@ibenic)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/style-question-2/#post-11819265)
 * Hi [@uwew](https://wordpress.org/support/users/uwew/), with 3.1.0, each sponsor
   item will now have also the category slug as class.
 *  Thread Starter [uwew](https://wordpress.org/support/users/uwew/)
 * (@uwew)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/style-question-2/#post-11821053)
 * Thank you, Igor – that is awesome – can’t wait:)
 * Uwe
 *  Thread Starter [uwew](https://wordpress.org/support/users/uwew/)
 * (@uwew)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/style-question-2/#post-11821073)
 * Hmm, just installed the latest version and I don’t see the class of my sponsor…
 * Did you do the alteration on the “bigger brother” of this plugin (Simple Sponsorships)
   rather than the “simplified” Sponsors plugin??
 * Following is my html code after the update:
 *     ```
       <h5> Individual Donors</h5>
       <div id="wp-sponsors" class="clearfix grid">
       	<div class="sponsor-item small">
       		<h3>SPONSOR No 1</h3>
       		<p></p>
       		<p>SPONSOR No 1 text</p>
       		<p></p> 
       	</div>
       	<div class="sponsor-item small">
       		<h3>SPONSOR No 2</h3>
       		<p></p>
       		<p>SPONSOR No 2 text</p>
       		<p></p> 
       	</div>
       	<div class="sponsor-item small">
       		<h3>SPONSOR No 3</h3>
       		<p></p>
       		<p>SPONSOR No 3 text</p>
       		<p></p> 
       	</div>
       </div>
       <h5> Corporate Sponsors</h5>
       <div id="wp-sponsors" class="clearfix grid">
       	<div class="sponsor-item small">
       		<h3>SPONSOR No 1</h3>
       		<p></p>
       		<p>SPONSOR No 1 text</p>
       		<p></p> 
       	</div>
       	<div class="sponsor-item small">
       		<h3>SPONSOR No 2</h3>
       		<p></p>
       		<p>SPONSOR No 2 text</p>
       		<p></p> 
       	</div>
       	<div class="sponsor-item small">
       		<h3>SPONSOR No 3</h3>
       		<p></p>
       		<p>SPONSOR No 3 text</p>
       		<p></p> 
       	</div>
       </div>
       ```
   
 * I hate to be “picky” but I was hoping to get the style/class tag in the encapsulating
   div – also, not this may be asking for to much, would it be possible to not have
   the paragraph <p></p> “clutter up” the list if there is no content?
 * Thank you, Sir…
    -  This reply was modified 6 years, 8 months ago by [uwew](https://wordpress.org/support/users/uwew/).
    -  This reply was modified 6 years, 8 months ago by [uwew](https://wordpress.org/support/users/uwew/).
 *  Plugin Author [Igor Benic](https://wordpress.org/support/users/ibenic/)
 * (@ibenic)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/style-question-2/#post-11823548)
 * Hi [@uwew](https://wordpress.org/support/users/uwew/),
 * this was done to this plugin, not to Simple Sponsorships as there is no such 
   shortcode. It’s a different one.
 * I did not see those extra paragraph elements in the HTML output when I was working
   on it. I’ll check it once more to be sure.
 *  Plugin Author [Igor Benic](https://wordpress.org/support/users/ibenic/)
 * (@ibenic)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/style-question-2/#post-12099300)
 * Hi [@uwew](https://wordpress.org/support/users/uwew/),
 * I have pushed 3.2.0 version that fixes the paragraph issue here and I’ve just
   saw that you wanted to have the container class with the category.
 * I’ll try to add that with 3.2.1 as soon as possible.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Style question’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-sponsors_e7e7e7.svg)
 * [Sponsors](https://wordpress.org/plugins/wp-sponsors/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-sponsors/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-sponsors/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-sponsors/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-sponsors/reviews/)

## Tags

 * [style](https://wordpress.org/support/topic-tag/style/)
 * [Stylesheet](https://wordpress.org/support/topic-tag/stylesheet/)

 * 7 replies
 * 2 participants
 * Last reply from: [Igor Benic](https://wordpress.org/support/users/ibenic/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/style-question-2/#post-12099300)
 * Status: not resolved