Community Forums › Forums › Archived Forums › Design Tips and Tricks › Problems with shortcodes
- This topic has 2 replies, 2 voices, and was last updated 11 years, 4 months ago by
aldash.
-
AuthorPosts
-
December 1, 2013 at 5:00 pm #76501
chantal2012
MemberI have a problem with shortcodes...I am using Genesis shortcodes to create a two column layout. I can't include link because site is in maintenance mode. So when I use the shortcodes, I put content in the first half and content in the second half...however even though the shortcode closing tag is there after the content, the footer from the bottom goes out of whack and tries to align with the text. If I add a </div> tag, then it fixes but there are no opening div tag. This is the code that I'm using:
<section class="l-constrained"> <div class="l-row"> <div class="l-half"> [one_half_first] test text [/one_half_first] </div> <div class="l-half"> [one_half]<figure class="flex-image"><img alt="""" src="//fasterpregnancy.com/wp-content/themes/agency-pro/images/intro.png"" /> </figure>[/one_half] </div> </div> </div> </section> <div class="tilted-line"> <div class="tilted-line-inner tilted-right"></div> </div> <section class="l-constrained"> <div class="l-row"> <div class="l-half"> [one_half_first] test text [/one_half_first] </div> <div class="l-half"> [one_half]<figure class="flex-image"><img alt="""" src="//fasterpregnancy.com/wp-content/themes/agency-pro/images/intro.png"" /> </figure>[/one_half] </div> </div> </div> </div> </section> <div class="tilted-line"> <div class="tilted-line-inner tilted-left"></div> </div> <section class="l-constrained"> <div class="l-row"> <div class="l-half"> [one_half_first] test text [/one_half_first] </div> <div class="l-half"> [one_half]<figure class="flex-image"><img alt="""" src="//fasterpregnancy.com/wp-content/themes/agency-pro/images/intro.png"" /> </figure>[/one_half] </div> </div> </div> </div> </section> <div class="tilted-line"> <div class="tilted-line-inner tilted-right"></div> </div> <section class="l-constrained"> <div class="l-row"> <div class="l-half"> [one_half_first] test text [/one_half_first] </div> <div class="l-half"> [one_half]<figure class="flex-image"><img alt="""" src="//fasterpregnancy.com/wp-content/themes/agency-pro/images/intro.png"" /> </figure>[/one_half] </div> </div> </div> </div> </div> </section> <div class="tilted-line"> <div class="tilted-line-inner tilted-left"></div> </div>
December 1, 2013 at 5:02 pm #76502chantal2012
MemberThe client wants the same look at this site: http://www.studiocalico.com/
They want the left tilted lines and right tilted lines....I'm just wondering if there is any way to achieve this without using shortcodes to create a column for text and a column for image...I know how to get the tilted lines in there.
December 18, 2013 at 9:48 pm #80093aldash
ParticipantIf I'm reading this right...
Try adding this:
<div style="Clear:both;">
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.