Forum Replies Created
-
AuthorPosts
-
Hey,
I’m referring to all images on the page with extension .svg, meaning the first image (the logo), and the text-images (Get Inspired).
When selecting the image for insertion, I can clearly see the Alt and Title present, but they are not fetched to the page.See private content
Hey, thank you, that works like a charm. :)
Well, the margin’s still gonna be there, but I guess I can figure that out on my own. What about the second part of my question regarding the blog posts grid?
In the screenshot you sent you can clearly see the margin on the left (if you inspect the box, you’ll see there’s a 4 % margin added to the left for some reason by Enfold).
Also, by looking at the site at desktop size now you can see there is no longer a grid, because the solution you gave me sets the width of each box to 100% always.
What I want to achieve is what Enfold is supposed to achieve as default: a grid that is any number of boxes wide (done in layout builder), which wraps to fewer columns when the screen size decreases. I drew up a “mockup” of a grid and how it should work. https://sketch.io/render/sk-19f72734af26215b055f6d8c65001ee8.jpeg
At best it’s a half-assed solution – it does not account for the margin on the left that Enfold inserts (on all screen sizes!) and it stops the grid from being a grid, instead it’s always single-coloumn full width on ALL screen sizes (there is no media query in that solution). I expect more from you at support…
That does not work at all (see the site).
Hey RIkard, did you look at the whole page? I have a blog post grid at the top, and that works pretty much as expected, but for me (Chrome on Mac and Safari on iOS), the following grid elements (the ones within the “Awesome stuff”-box, plus the ones after with empty images inside (enfold standard image) do wrap, but not expand to fill the width of the page. See images.
Hey,
Ok, I’ll try to explain – we use a featured image slider as a sort of “header” for our site, with only one slide (so it’s like a color section with an image and a title).
In other elements that display (multiple) blog posts, we can make any sticky posts appear before the other posts (like the expected behavior is, but Enfold doesn’t respect/follow) using this bit of code:
add_filter('the_posts', 'bump_sticky_posts_to_top'); function bump_sticky_posts_to_top($posts) { foreach($posts as $i => $post) { if(is_sticky($post->ID)) { $stickies[] = $post; unset($posts[$i]); } } if(!empty($stickies)) return array_merge($stickies, $posts); return $posts; }
This obviously won’t work on a query that only returns one result – our featured image slider – so we need a more viable solution.
So the question is really, why doesn’t Enfold respect sticky posts (in the way that the most recent sticky post will be displayed first in any case), and how can we ensure it does display the sticky post first in cases where sticky posts are outside of the query bounds (post nr. 11 in query e.g., while query only asks for 4 posts).
Screenshots attached.
The admin part of the site is restricted by a proxy filtering out IPs, and I cannot add other IPs, is there another way that you can help me?
Yeah, that is a possible, but a bit tricky solution – it would be a lot better to pick the posts you wanted to display… Is there no way to do this?
Got it working again! I had an outdated version of avia-shortcodes/postslider.php in my child theme that needed to be updated!
Hey, this is still not working, and we have not found a single PHP error in our logs. What’s going on?
May 30, 2016 at 2:50 pm in reply to: Avoid logo switching when scrolling on page with transparent header #640420Thanks for the help, this is what ended up being what I wanted :)
.html_header_transparency #top .logo a > img { opacity: 0; } .html_header_transparency .logo img.alternate { opacity: 1; }
May 30, 2016 at 2:06 pm in reply to: Avoid logo switching when scrolling on page with transparent header #640358I might not have explained it clearly – I want to use the alternative logo, but when scrolling a page that uses the alternative logo, I don’t want the other logo to appear.
That worked, thanks :)
That makes no difference.
Any update on the gallery issue?
Hey,
That CSS snippet did not solve the issue – the header’s background still turns grey when scrolling (to see it on iPhone, scroll slowly up again, and you’ll see the grey background).
The header issue only happens on the front page as far as I can see – see attached screencast.
The gallery issue is still there on 3.5.4.
Sure :) Username and password attached.
Also, image galleries only shrink, the images don’t separate onto different lines on smaller devices (stays in three rows). See the link.
-
AuthorPosts