Jump to content


Photo
Grid Shortcodes

Grid Shortcodes spacing and li items



Best Answer Evan Mattson , 23 August 2013 - 01:55 AM

Ok,  I'm not familiar with that plugin, but that clearly is the problem as the paragraphs are wrapping the shortcode tags themselves, before output.  GS is not adding those paragraphs, they are probably being added by that plugin.

Go to the full post


  • Please log in to reply
7 replies to this topic

#1 alisamski

alisamski

    Advocate

  • Members

  • 473 posts
  • Framework Version:DMS 2 | DMS 1 | Frameworks | Child Theme
  • Country: Country Flag

Posted 20 August 2013 - 12:29 AM

I'm having a problem fussing with bulleted lists inside the grids... it keeps adding <p> and throwing things out of alignment...

 

Can you please check this out.

 

Here is the link to the page: http://bit.ly/1alZ14l

 

thanks



#2 batman

batman

    Bat Learning

  • Members

  • 2079 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 20 August 2013 - 02:12 AM

Hi alimsaski

 

I´m not sure, but

Please, you can try to add

 

p { margin: 0.em 0px;
    orphans: 4;}
 
And you see if you need.


#3 alisamski

alisamski

    Advocate

  • Members

  • 473 posts
  • Framework Version:DMS 2 | DMS 1 | Frameworks | Child Theme
  • Country: Country Flag

Posted 20 August 2013 - 05:05 PM

I did that... however, firefox still does not show with the change...

looks ok on Chrome / Safari

 

I kept messing with order of the spans (before H1) (after H1) etc... seemed to work, however it just does not

keep the code...



#4 Evan Mattson

Evan Mattson

    Super Member

  • Members

  • 212 posts
  • LocationAnn Arbor, MI
  • Framework Version:latest stable & beta releases
  • Country: Country Flag

Posted 21 August 2013 - 06:30 PM

Hi @alisamski,

 

Would you please include your full content (from the post/page html editor) in a paste using http://paste.pagelines.com and post your link here.

 

There is another user who's having an issue that is related to wpautop which I may have a fix for.  This may be the same issue.

 

Thanks!



#5 alisamski

alisamski

    Advocate

  • Members

  • 473 posts
  • Framework Version:DMS 2 | DMS 1 | Frameworks | Child Theme
  • Country: Country Flag

Posted 21 August 2013 - 07:11 PM

Here is the link...  http://bit.ly/1alZ14l

 

posted in pastebin

 

Note again.. looks good in Chrome... firefox does not line up.



#6 Evan Mattson

Evan Mattson

    Super Member

  • Members

  • 212 posts
  • LocationAnn Arbor, MI
  • Framework Version:latest stable & beta releases
  • Country: Country Flag

Posted 22 August 2013 - 03:03 PM

Hey @alisamski,

 

FYI, in the future when you create a paste, just post the url you see after it's submitted.  In this case yours was: http://paste.pagelines.com/7dj

 

The problem I see is that your shortcodes are wrapped in paragraphs like this: <p>[row][span4]</p>
 

That will definitely create problems.  Are you using some 3rd party editor for your markup?



#7 alisamski

alisamski

    Advocate

  • Members

  • 473 posts
  • Framework Version:DMS 2 | DMS 1 | Frameworks | Child Theme
  • Country: Country Flag

Posted 22 August 2013 - 04:10 PM

Advanced TinyMCE...

 

yes the <p> are a problem... and keep wrapping and adding in...

 

We've always used the above editor plugin... as WP editor is inefficient.



#8 Evan Mattson

Evan Mattson

    Super Member

  • Members

  • 212 posts
  • LocationAnn Arbor, MI
  • Framework Version:latest stable & beta releases
  • Country: Country Flag

Posted 23 August 2013 - 01:55 AM   Best Answer

Ok,  I'm not familiar with that plugin, but that clearly is the problem as the paragraphs are wrapping the shortcode tags themselves, before output.  GS is not adding those paragraphs, they are probably being added by that plugin.







Also tagged with one or more of these keywords: Grid Shortcodes