AD
UNIT
HERE
You have to put the image code in the Individual Entry, anyway.
So: Genesis>Display Featured Image is doing nothing, other than saving you a few lines of code in the Excerpt. And the Excerpt’s Image class is: alignleft post-image entry-image. -Which is Not the same thing as here.
Also, tried a traditional embed post with YT, and it scales Responsively, so we don’t need to go back & re-do every post with a vid in it.
AND, I can’t seem to find any Unique, Pre-Existing Entry-Image Style-Code that we can throw some specs on for a border or whatever if we choose later, JUST for Entry Images, or even Excerpt vs. IE Images.
SO: We HAVE to come up with our own controller-class anyway.
The Nice thing is I didn’t know before today is that an item may take -Several- classes. So: then you don’t have to obliterate everything from before in one swipe.
You can just Add what you need, when you need it. -BUT, if you throw a class on an -img-, it doesn’t Magically change it from being an Inline into a Block element. And sometimes you want to slap a DIV on it to make it a block; not just an inline -behaving- like a block.
-Just here’s the Rub: Because there’s no real unique class existing, we have to make up one NOW & then use it, even if there are no declarations for now, to make sure if we change our minds later, we can add something.
WP Also does not add itemprop=image to the line, the way genesis does for the excerpts, so at least there’s that in its favor.
Also, Have been debating about re-using old Entry Image div style, .img-shadow. HOWEVER, if we redo the styling on it so the margin on the bottom is better, then we ruin ALL the old entries with the br clear alls on them.
I think we can get away with YT embeds and other iFrames being blocked and cleared with a style defined in the sheet and not using individual html elements on the page. We’d have to revisit how we clear front page and individual entry YT embeds to make sure on this, but I think we can. Maybe even if they clear differently, we can still make one class that works well with no additional page code, and only one where we have to add extra.
Yeah, the actual code is IE:br clear all after the embed/iframe. Main Excerpt: br clear=all nbsp br. I believe this was some odd wordpress quirk in how it processes the excerpts.
Not sure if it will make any difference at all if we put the spacing on the bottom of the embed/iframe using CSS margin and maybe even throwing a clear:both in the css style.
The Answer Is: YES, you can use one CSS style (at least under genesis/WP) that will make the After-Block break the same, IF you put the Article Text IMMEDIATELY following the element. -Not even One line break or space-character at all. I just tested it and it works. Otherwise, if you put a line break after the invisible itemprop image after the video iframe embed, it will put another line of space and it will be Bigger in the IE than in the excerpt.
So, I say for now, the fastest path to launch is the least work absolutely necessary, thus: Orphan-off the old img-shadow style, leave the br clear all shit there, and just use the new style to do it better on the new entries. Transfer as much from the older style over as it takes to make it work, while still orphaning-off class img-shadow.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. &
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis.
Photo Credits:
Links:
• Source:
• via:
• More Coverage:
Leave a Reply