Tagged: x
-
AuthorPosts
-
July 4, 2016 at 4:26 pm #1072008
Damo1968ParticipantHi
I love the X theme but I still prefer to use the visual composer and therefore use the old X shortcodes that now are apparently part of cornerstone. I’ve got the cornerstone plugin and so far the shortcodes have worked fine but I just tried to use the content band with background image shortcode:
[content_band style=”color: #fff;” bg_image=”http://yoursite.com/path/to/your/image.jpg” parallax=”true” border=”all” inner_container=”true”] [custom_headline style=”margin-top: 0; color: #fff;” level=”h4″ looks_like=”h3″]Cool Headline[/custom_headline] <p>Esurivi enim et dedistis mihi manducare: sitivi, et dedistis mihi bibere hospes eram et collexistis me nudus et operuistis me, adipiscing ego me: infirmus, et vidi post me, visitastis me in carcere eram et venistis ad me.</p> [/content_band]
But using my own image obviously and the image does not appear?
Does this no longer work as a shortcode?
I really don’t want to start using cornerstone. I appreciate for the “code lovers” out there, its probably great but for me, I love using just simple short codes to get the job done.
Is the code different.. ? Can I get a background image content band ?
My URL http://appmeup.co.uk/go/
If you go to the bottom of the page, you will see the last entry, which asks for the BG image but nothing is there. Please let me know how i can do this
Thanks
Damien
July 4, 2016 at 4:28 pm #1072009
Damo1968ParticipantThis reply has been marked as private.July 4, 2016 at 5:20 pm #1072046
Nabeel AModeratorHi there,
Thanks for writing in! Upon checking your code, I see
<img>tag in the bg_image attribute. Please remove the<img>tag from bg_image and just input the image path to fix the issue.[content_band style="color: #fff;" bg_image="<img src="http://appmeup.co.uk/go/wp-content/uploads/2016/06/iphone-mockup-psds-49.jpg" alt="iphone-mockup-psds-49" width="900" height="566" class="aligncenter size-full wp-image-203" />" inner_container="true"]Cheers!
July 5, 2016 at 12:00 am #1072393
Damo1968ParticipantOh yes, silly me…. Thank you
Damien
July 5, 2016 at 1:15 am #1072428
Nabeel AModeratorGlad we could help.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1072008 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
