• captgoodvibes

    (@captgoodvibes)


    Hello,
    I have tried to find the answer to this, but no luck.
    On a page, I want to have a small image on the extreme left, some text in the centre, and a purchase button that is entered as a shortcode on the extreme right. I want all this on the one line (It should fit easy).
    I can get the image on the left, no problems. However separating the text and the button is difficult for me. The button keeps going to the line below. I used this code for the button :
    <div align=”center”>[ purchase_link id=”XXX” style=”button” color=”blue” text=”Buy Now” ]</div>
    I can’t provide a link to the site as it is not on-line yet, sorry.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter captgoodvibes

    (@captgoodvibes)

    Sorry that code should be:
    <div align=”right”>[ purchase_link id=”XXX” style=”button” color=”blue” text=”Buy Now” ]</div>
    I want the button on the right of the page, the text in the centre and the image on the left.

    Thread Starter captgoodvibes

    (@captgoodvibes)

    Okay I removed the <Div align=”right”></div> command.
    I inserted class=”alignright” inside of the shortcode. This places the link on the right, however the buttons properties of being blue with white writing are lost, and it appears as only blue writing.
    Anyone know about all this stuff?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘image – text – shortcode on the one line’ is closed to new replies.