Posted: January 29, 2019 at 9:06 am
Hi guys, I’m wondering if someone here can help me. How would I go about configuring text wrap and standardizing the spacing of the events grid. Our grid page (https://teens.artsconnection.org/high5/) is currently all off when the event title is long. Thanks. |
|
Hi, It looks like your site has an older version of the Grid template and an older version Event Espresso 4. The Grid template’s stylesheet has changed quite a bit since the older version which might just resolve the issues you’re having. Can you update to the current version of the software? |
|
Will do, Josh! I’ll report back once this is done. |
|
OK, Josh. Everything has been update to the latest version. How do I go about resolving the issue with the grid template? |
|
Hi Michael, Looking at the output from your site is looks like you are using a custom version of the Grid view template. What is the full shortcode you are using on that page? If you check your themes root directory, so you have a template called |
|
Hi Tony, The shortcode I’m using is [ESPRESSO_GRID_TEMPLATE order_by=start_date, sort=ASC, limit=120, show_expired=0] I do have that file in my themes root directory, but I haven’t made any changes to it. Here are the contents: https://pastebin.com/Li3JNaJR Thanks for your help! |
|
That template has definitely been modified from the original as it doesn’t match the template to any version we have in our Git repo. Save that template to your desktop and then remove the file from your themes root directory, EE will then load the new default template from within the add-on itself. A quick heads up, its different from your current output. |
|
Thanks, Tony. I’ve backed up the template and deleted the file from the server. However, I now have a single column grid listing all the shows. How do I change this to 4 columns evenly spaced? |
|
Or, could you point me to the git repo and I can look through the grid templates in there? |
|
Looks like your site is still serving the old versions of CSS/JS from the Grid View template. You’ll need to clear WP Engine’s cache (namely the CDN) to that it loads the new files. |
|
Hi Tony, All caches have been purged, but it’s still showing as a single column grid. Not sure what’s going on here. |
|
You’ll also need to clear your browser’s cache. Then you’ll see the changes take effect, like in this screenshot: |
|
This is the latest version of CSS for the grid template add-on – https://monosnap.com/file/yms5z9GIpfrdMQfYzJYtgw3JN1ucGE Note the This is the version of CSS loading on your site from the WP Engine CDN – https://monosnap.com/file/F5yBfw0SEjsLeKqcY6OJFXVFN3YSTD Note there are no I can see your site is running the Grid template version 1.2.4 which is the latest version, but the CDN isn’t loading the CSS for that version. If you go to |
|
…. I also forget about browser cache. Clearing my browsers cache shows the updated files, nice catch Josh. |
|
Thanks guys! All looks well, even though it’s the default. I’ll look through the rest of the topics on the forum to fine tune things. Thanks again fellas! |
|
You can now copy the new template to your themes root directory if you need to and edit the output of the new template, or just apply your own CSS through you theme that targets the elements in that template (it depends how much your want to change). |
|
The support post ‘Grid Template Spacing and Text Wrap’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.