Jump to content
suzyo

Using the Grid

Recommended Posts

suzyo    1
suzyo

hi. i've just started using the grid. it's awesome. i'm reading up on it everywhere. one thing i can't find an answer to---i've got a href in a grid and it's turning everything in the grid into a hyperlink. where can i go to find info on this? thanks.

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi Suzy,

 

If you've opened an <a href...>, you need to make sure it's closed with </a> at the end of the link.  Without closing the href, it will extend the link to everything following it.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
suzyo    1
suzyo

hi rob. thanks. the href is closed. that's not the issue. 

Share this post


Link to post
Share on other sites
Rob    547
Rob

In that case, use our pastebin to show us the code for the entire grid. I'll test it later this evening and see what's up. Just paste the link here in reply.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
suzyo    1
suzyo

the hyperlink covers every element, in AND out of the content box. so twilight zone! (to me, anyway.) thanks again.

Share this post


Link to post
Share on other sites
Rob    547
Rob

Suzy, good thing I like you! lol

 

It's a good idea to validate your HTML.

 

<a href="http://www.capemyers.com/review/">
<img src="http://www.capemyers.com/wp-content/uploads/2013/02/ap_barack_obama_2_ll_120212_wg.jpg"</a>

 

Missing > at the end of the img call.

 

...wg.jpg"</a>  should be ...wg.jpg"></a>


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
suzyo    1
suzyo

holy crap, batman. thank you. many hours there. hours i shall never get back. THANK YOU!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • DonRicardoRVM
      By DonRicardoRVM+
        First of all, sorry for my bad English.  I am developing an ecommeece with wp, woocommerce, PL5 and quickshop, and I need to do some changes in the simple product grid. I want to change the classes of some divs, but I can't find the templates. 
      Also, I change the grid of the category products pages, but I didn't make it correctly.
      This is the cat archive's: http://globosdemar.com/wp/categoria-producto/camisetas-para-ninos-y-ninas/
      Can you help me?
    • John Olsson
      By John Olsson+
      Wierd little problem with the "boxes"-section. Just updated to latest version of all..
      The outline-default-link puts itself behind another container.. or so.. so the top/bottom border won't show, also the left and right box won't show the border on the left side for the left box, and same for the right box, on the right side.
      The padding/margin is ofc on default-settings.. What can this be?

    • ketri
      By ketri
      Hi,

      I noticed that PL5 uses flexbox for it's responsive grid. I think this is awesome. 
      But now there's a project coming in where I know I'll have to support older crappier browsers as well. Any thoughts on this? Should I only use PL5 for project where we're focused on modern browsers? Or should I use custom CSS to insert a float-based fallback grid..? 

      Thanks!
    • janpeeters
      By janpeeters+
      Sorry, I got lost in trying to explain my problem properly. I deleted the contents of this post but can't delete the post itself. I'll report back if I've gotten to the bottom.
    • micstepl
      By micstepl+
      the grid function is gone within post!
      all workarounds within PL5 are not possible!!!
      cloning of containers from outsinde > to inside a post/page content do not work container-work within post/page content does not work (same as used outside) DMS bootstrap grid has gone
×