How to display button and Text inline

Posted in: Newspaper
Post count: 32

Hi,

I am using the buttons shortcode that comes with the theme. But if i want to add any H2 text in from on the button, it comes below the button. Is there a way to display H2 text next to button ?.

here is the code that i use -<span class=”td_btn td_btn_lg td_default_btn”>Download PDF</span> <h2>How to make a vegetable curry</h2>

The output looks like this – https://snag.gy/VYdR2N.jpg

Thanks,
PD

Post count: 20688

Hi,

Maybe you could wrap the whole code in a div, and also set a class of your choosing for the heading
https://www.screencast.com/t/LiaZCIajKfnk
Then refer to this class like this
https://www.screencast.com/t/O7C46dYNM
There would be other ways of doping it, if this does not work properly.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.