Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1072008
    Damo1968
    Participant

    Hi

    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&#8221; 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

    #1072009
    Damo1968
    Participant
    This reply has been marked as private.
    #1072046
    Nabeel A
    Moderator

    Hi 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!

    #1072393
    Damo1968
    Participant

    Oh yes, silly me…. Thank you

    Damien

    #1072428
    Nabeel A
    Moderator

    Glad we could help.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1072008 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>