Forum Replies Created
-
AuthorPosts
-
Hi Ismael, that worked!! Thank you so much!!!
Hi everyone, I think the manual bullet points I’ve added are confusing everyone so I’ve removed them. To circle back, this is the problem:
I need to add bullet points on each line item on the portfolio excerpts that are being displayed via the masonry gallery on my homepage.
The portfolio excerpt:
<ul> <li>Supply & Exhaust Air Volumes</li> <li>Room Pressure Differential</li> <li>Pressure Gauges & Monitors</li> <li>Air Changes Per Hour</li> <li>Incubators & Scales</li> <li>Refrigerators & Freezers</li> </ul>I’ve added these suggested codes to the functions.php:
/*enable HTML in portfolio excerpts - option 1*/ function my_avf_masonry_loop_entry_content($loop_excerpt, $entry) { $loop_excerpt = strip_tags( ($entry->post_excerpt) , '<br><p><ul><li>' ); return $loop_excerpt; } add_filter('avf_masonry_loop_entry_content', 'my_avf_masonry_loop_entry_content', 10, 2); /*enable HTML in portfolio excerpts - option 2 --- this just added extra space between each line item which isn't what I want*/ add_filter( 'avf_masonry_loop_entry_content', 'avf_masonry_loop_entry_content_mod', 10, 4 ); function avf_masonry_loop_entry_content_mod( $loop_excerpt, $entry, $entries, $key ) { if ( ! empty( $entry->post_excerpt ) ) { return $entry->post_excerpt; } return $entry->post_content; }I don’t believe this affects this issue, but I do have this in my CSS as well so just wanted to share this visibility:
/*Remove masonry gallery links .av-masonry-entry { pointer-events: none !important; } */ /*Equal height for masonry gallery*/ .av-inner-masonry-content-pos { min-height: 235px !important; }When adding this to the functions.php file, the portfolio excerpt text disappears so I did not include it:
add_filter( 'avf_masonry_entry_content', 'avf_masonry_entry_content_mod', 10, 3 ); function avf_masonry_entry_content_mod( $content, $entry, $config ) { return $entry->post_excerpt; }This is what it currently looks like: https://imgur.com/mzZlgLJ
None of those codes work for me unfortunately. One of the codes just added extra spacing between the line items.
The bullets that are displaying are only there because I manually added them in as text thinking that could be my workaround since the code wasn’t working, but it doesn’t look great when the text uses up 2 lines vs 1. (Sample:
- • Room Pressure Differential
)
For testing purposes I removed them from the “Certification” portfolio item. Ismael, would you be able to login and see if I’m doing something wrong? I’ve tried all the codes you and Guenni007 provided (1 at a time of course vs incorporating all of them).
Hi Ismael, sorry I called it the wrong thing. You are correct, I am using the masonry gallery for the portfolio entries. What’s currently on the homepage is accurate. This is a staging site so don’t worry about messing with anything. The bullets that you show in your screenshot are a result of the symbols I entered in the excerpt since the html tags weren’t working
(screenshot: https://imgur.com/a/iUmI9pS)
Hi Guenni007, yes that’s what I had already attempted to do but it wasn’t working so that’s why I created the ticket. Thank you though!-
This reply was modified 1 month, 3 weeks ago by
sjahan.
Looks like that worked, thanks Ismael!
That seems to have worked, thank you!
Hi, thank you! That seems to have worked on the Services page which uses the Image box, but I still see it on the Home and About pages that are leveraging the Masonry Gallery. I’ve cleared my cache again just to double check but it’s still there. Do you see it on your end?
Hi, I cleared my cache and also tried in an incognito window and another laptop that hasn’t visited the site before but I still see the hover text
Also, for some reason the main logo is very pixelated even though the file is 2560x937px
Perfect, thank you!
I decreased the font size to 55px and the word Accommodations fully shows up now, but it’s still not centered. It’s more to the right.
I can decrease the font size for the element, but I’d prefer to keep the size as is. The issue is that the text isn’t centered because if the font size stays as is and is too big for the screen shouldn’t it be fully centered and then get cut off on both the left and right?
Hi, I tried changing that to a very small font to see if it did anything and it didn’t. I did clear out my cache and try an incognito window, but there wasn’t any difference. I’ve put the front end password below.
Hi, just following up. Thank you.
Also is there a way to see what contact form requests were submitted previously that didn’t go through so we can follow up on them?
Got it, thank you for looking into it!
Yup, here you go
Hi @Guenni007, that seems to have worked! Thank you :)
Just put it in the private content
-
This reply was modified 2 years, 7 months ago by
sjahan.
I unfortunately can’t choose to exclude things from the CDN, it’s an all or nothing capability…
Ok, thanks Mike. I chatted with the CDN provider and they said they can’t change anything on their side and it’s not an issue with them…any suggestions other than disabling CDN?
“I am afraid that we are not able to change Content Delivery Network settings according to that particular theme. This is not a CDN issue, but the theme is configured to work that way. Please ask your developer if some workaround for that issue can be implemented in your theme”
-
This reply was modified 2 years, 7 months ago by
sjahan.
Hi Victoria, I still have the issue. And to clarify, I do not receive a 403 error. The page loads fine for the most part. It’s just on one particular page that the advanced editor doesn’t load and it’s stuck in the loading loop (everything else on the page is fine).
Hi Yigit,
You’re correct, it does work with PHP 7.3 (that’s the latest version that GoDaddy offers). It looks like the CDN was the issue. I had also disabled that when I downgraded the PHP. I’ve now upgraded to PHP 7.3 and disabled the CDN and everything is working fine. Thank you.
Shab
Hi Ismael,
I added that to the end of the .htaccess file and it didn’t affect anything. I also did flush the cache and viewed the page in incognito mode. But I was able to figure it out. I downgraded the PHP version from 7.2 to 7.0 and the arrows are back! Thank you guys for looking into it. When do you think the theme will be ready to work with PHP 7.2?
Hi Yigit, I just spoke to GoDaddy and they disabled the CDN – cleared the cache – re-eneabled the CDN. But it’s still not working…
Hi Yigit,
I don’t believe I have CDN. I did flush the website cache and didn’t see a change.
Hi Rikard,
I just updated my theme file to 4.7.1 via FTP and am still having the same issue… Can you take a look?
Here you go
Thank you Roger.
Hi Rikard, I tried Roger’s suggestion, but it did not work on my end. Can you login and take a look? Thank you.
-
AuthorPosts
