• Resolved regis999

    (@regis999)


    Hi,
    when i inserting buttons, those shorcodes php
    <?php echo do_shortcode(‘[maxbutton id=”25″]’); ?>
    <?php echo do_shortcode(‘[maxbutton id=”25″]’); ?>
    <?php echo do_shortcode(‘[maxbutton id=”25″]’); ?>

    Show without space above and under. Can i do etc., tah will ve space above 1,5cm and under 1,5 ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • If you look at the source for you page after it’s been rendered in the browser, you should be able to find the code for the button, or a container for the button, that you can target with some CSS.

    For example:

    .button {margin: 10px 0 10px 0;)

    You can of course change the margin settings to what ever space you want.

    If you can provide a link to your site, and an example of where one of these buttons shows up, we can provide you a more detailed answer.

    Thread Starter regis999

    (@regis999)

    I inserted this In CSS:

    .maxbutton-1-container, .maxbutton-4-container, .maxbutton-25-container, .maxbutton-17-container, .maxbutton-14-container, .maxbutton-2-container { margin: 3px 0 10px; }

    http://www.sveikatosgidas.lt/temos/

    And i need a little more space before page title. And that all buttons will be in the center.

    Can you help please?

    Thread Starter regis999

    (@regis999)

    I inserted this In CSS:

    .maxbutton-1-container, .maxbutton-4-container, .maxbutton-25-container, .maxbutton-17-container, .maxbutton-14-container, .maxbutton-2-container { margin: 3px 0 10px; }

    http://www.sveikatosgidas.lt/temos/

    And i need a little more space before page title. And i need that all buttons will be in the center.

    Can you help please?

    Your site has the right click disabled. That makes it much harder for me to diagnose the problem and provide help.

    Thread Starter regis999

    (@regis999)

    I resolved it 🙂

    Thank you

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

The topic ‘how insert shortcode in php with space above and under’ is closed to new replies.