• Resolved tanmay0713

    (@tanmay0713)


    Hi Vladimir,

    Can I change box size i.e I wish to make it more narrow or whatever and I have the same question about “note” size.

    Kindest Regards
    Vipul Arora

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Vova

    (@gn_themes)

    Hi Vipul,

    you can add a custom CSS class to your shortcodes and then style it in the Custom CSS code field at the plugin settings screen.

    1. Add custom CSS class to your shortcode:

    [su_box class="my-custom-box"] ... [/su_box]
    

    2. Navigate to Dashboard – Shortcodes – Settings and add the following snippet to the Custom CSS code field:

    .su-box.my-custom-box {
      max-width: 400px;
    }
    

    You can do the same with Note shortcode.

    Thread Starter tanmay0713

    (@tanmay0713)

    Hi Vladimir,

    it works Thank you for sharing the knowledgeable and guidance but it doesn’t work with table could you please guide me again.

    Kindest Regards
    VIpul Arora

    Plugin Author Vova

    (@gn_themes)

    Hi Vipul,

    the same approach should workfine:

    [su_table class="my-custom-table"]<table>
    <tr>
    	<td>Table</td>
    	<td>Table</td>
    </tr>
    <tr>
    	<td>Table</td>
    	<td>Table</td>
    </tr>
    </table>[/su_table]
    .su-table.my-custom-table {
    	max-width: 400px;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘changing box default size’ is closed to new replies.