-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Title + caption to appear on top of the full cover image #47
Comments
This would be nice. If anyone wants to submit a pull request for this, I'd love to take a look at adding this in as a feature. |
Liked this feature too. Easier for people to navigate back to home screen. :) Thanks. |
@tlongren That would be awesome. :) One thing that's going to make this challenging, I believe, is the fact that the post cover exists outside the main loop, in Actually, I just looked at the code and If you want to add subtitle support (like in the screenshot), the best way to do that is probably going to be through a Custom Field attached to the post (e.g., something like In fact, I suggest toggling post title on the cover image functionality using a Custom Field as well. Any post that has the Custom Field
I think he's probably referring to the little icon in the top-left of the screenshot, but that feature already exists. |
Sounds awesome. Gimme a bit, got a few projects I'm finishing up in the next few weeks. Time's pretty tight at the moment. I'll test better before this PR, too, heh. |
Sounds great! No rush. I think I'm done with updates to the theme for awhile. |
Why are you done with updates for a while? You were doing so awesome! Could you add an option to automatically make featured images go full width instead of making me have to update then set the option then update again? |
Well, I don't want to break child themes that already exist in the wild, so I've got to be careful about adding features or changing things. That said, I like the idea for an option to automatically apply the full-width featured image. Can you open a feature request (Issue) for that on GitHub? |
I really like you theme, is this is definitely something I would love to see on it... |
@descubraomundo No progress yet. I work on this project in my spare time and I haven't had much spare time lately. Feel free to submit a Pull Request if you'd like to try working on it yourself. :) |
Woohoo! Thanks to work by @descubraomundo, this feature will be coming with the next release of Independent Publisher! Here's a screenshot of the new "Overlay Post Title on Post Cover" option: The post title itself fades out as you scroll down. Also, the post cover uses a DIV with the featured image set as the background, so if you want the post cover to take up 100% of the browser viewport (like Medium.com), you can easly do so by adding the following CSS to a child theme: .single.post-cover-overlay-post-title .post-cover-title-image { height: 100vh !important; } The default style will have the post cover take up 75% of the browser viewport when the "Overlay Post Title on Post Cover" option is enabled. There are no changes to the behavior of the existing "Featured Image as Post Cover" option. Enabling this option on a per-post basisIt will also be possible to enable the "Overlay Post Title on Post Cover" option on a per-post basis, by creating a Custom Field on the post with the key |
Really Happy I could help with this. I changed a little bit on my child theme to look more like Medium.com, it's in portuguese, but you can checkout at: Also with a little bit more of CSS and a WordPress plugin to add images to taxonomies, you can create the same post effect for your categories page: I'm also using another project called FluidBox to make the images zoom in like at Medium, if you want to add as something that is nice to use with the template. The project is: |
@descubraomundo Thank you for sharing the plugins you're using on your site! I'm sure others who want those same features will find that information very helpful. :) Your site looks amazing! |
When will it be updated on Wordpress.org? :D @sergiojota https://twitter.com/sergiojota On Thu, Aug 14, 2014 at 11:49 PM, Raam Dev notifications@github.com wrote:
|
Soon. :) I'll try to work on getting a release out this week. |
@sergioschuler Hmm, that IS weird. Are you using a Child Theme? Might there be something you've customized that is affecting the option? |
Oh, damn, yeah, that must be it! I will see what is wrong with it. |
Like this:
The text was updated successfully, but these errors were encountered: