Jump to content

Archived

This topic is now archived and is closed to further replies.

alisamski

Grid Shortcodes spacing and li items

Recommended Posts

alisamski+    8
alisamski

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

Share this post


Link to post
Share on other sites
batman    389
batman

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.

Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
alisamski+    8
alisamski

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...

Share this post


Link to post
Share on other sites
evan    0
evan

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!

Share this post


Link to post
Share on other sites
alisamski+    8
alisamski

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

 

posted in pastebin

 

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

Share this post


Link to post
Share on other sites
evan    0
evan

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?

Share this post


Link to post
Share on other sites
alisamski+    8
alisamski

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.

Share this post


Link to post
Share on other sites
evan    0
evan

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.

Share this post


Link to post
Share on other sites

  • Similar Content

    • caspersjan
      By caspersjan
      Dear Pagelines, dear Evan,
       
      Grid Shortcodes is doing its simple work solidly, it probably never gets much praise. I am glad that it has been continued through all of Pagelines iterations since it arrived on the scene!
       
      However now I have a problem I fail to understand. I thought the spans can add up to 12. I am trying to achieve a three column set-up, like this:
       
      [row] [span8]Text[/span8] [span2]Text[/span2] [span2]Text[/span2] [/row]   But it breaks, i.e. the third column is put on a new page. If I try this it doesn't work either:   [row] [span3]Text[/span3] [span3]Text[/span3] [span3]Text[/span3] [/row]   Am I doing something wrong or leaving something out? You can see the page here: http://animatinglibraries.com/wordpress/?p=247 (underneath the second <hr> divider, "Report"/"Group size"/"Sessions") For a practical fix I used this solution - just making the wide column narrower:   [row] [span7]Text[/span7] [span2]Text[/span2] [span2]Text[/span2] [/row]   But I'd like to use the whole line - without the margin at the front and end that the 7/2/2 solution entails. Maybe you can help - I am as ever grateful for your assistance.   Yours faithfully, Jan.        
    • jamieg270
      By jamieg270+
      Hi Grid shortcodes don't seem to be working when nested. I am using DMS 2.0.5 I have deactivated all plugins leaving just the Paglines Updater, DMS Professional and Grid SHortcodes.
       
      This is my shortecode:
      [row] [span6] content here [/span6] [span6] [row_a] [span6] content here [/span6] [span6] content here [/span6] [/row_a] [/span6] [/row] Is there something I'm doing wrong? I've used this before on DMS v1.x.x without problems....
       
      I can't show you the result the file size for upload is too small to be able to attach the image!! However the [/row_a] and then [/span6] are being rendered in text on the page and the second nested column gets set as if its in its own row below the first. I don't have another DMS install to test this is so I'm not sure its reproducible. 
       
      I'm going to have to add the columns in using divs and classes as the client needs to see this tomorrow. 
       
      If I get the chance I'll set up a separate install to test aqain and give you an example to look at.
    • dchetson
      By dchetson+
      Trying to sue grid shortcodes to create nested columns. Really dumb question, but where do you enter the shortcodes? Tried in the CSS area but that doesn't seem to work.
    • rpacker
      By rpacker
      I have installed the Grid Shortcodes plugin for Framework and the documentation links for Evan Mattson are broken.  Is there any documentation still online? Is this plugin no longer intended to be used? I can't seem to find a user interface for the shortcodes, that is, if there is one.
       
      Thanks.
    • jamieg270
      By jamieg270+
      Hi,
       
      I installed Grid Shortcodes as I thought it would be easier for my client to use when using columns. However I'm now getting a php error wherever I use them.
       
      Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/cypherde/public_html/pfc/site/wp-content/plugins/grid-shortcodes/grid-shortcodes.php on line 102

      Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/cypherde/public_html/pfc/site/wp-content/plugins/grid-shortcodes/grid-shortcodes.php on line 102

      Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/cypherde/public_html/pfc/site/wp-content/plugins/grid-shortcodes/grid-shortcodes.php on line 102
       
      You can see this at http://pfc.cypher-design.net/site on the first tab on the feature box.
       
      The feature box is custom code I've added into a custom section using a custom post type so the client cn update the tabs without my input.
       
      Any insight into the cause would be great.
       
      Thanks!
×