wecobble / Subtitles

Add subtitles into your WordPress posts, pages, custom post types, and themes. No coding required. Simply activate Subtitles and you're ready to go.
http://wordpress.org/plugins/subtitles/
GNU General Public License v2.0
117 stars 186 forks source link

Subtitle is covering content on mobile #43

Closed MissShugah closed 9 years ago

MissShugah commented 9 years ago

Hello,

I am unsure who would be best to solve this problem (theme support or you) so I’m trying you first. The plugin works well in desktop view but on mobile my entry content pretends the subtitle isnt there so my 1st paragraph sits on top of it right underneath the h1.

A workaround I am using it this:

@media (max-width:480px) { .single-post .entry-content { margin-top: 70% !important; margin-left: 5%; margin-right: 5%; } }

But this method isnt great because each post is different causing me to spend a lot of time guessing what the correct margin should be & testing it out.

I’m not sure if this is a plugin problem since the plugin works on desktop, but I’m trying you first. Perhaps there is a css trick for this?

Please advise, thank you.

mobile view with css: http://imgur.com/NVOZvlc mobile view without css: http://imgur.com/8EO8eeC

philiparthurmoore commented 9 years ago

This sounds like a theme CSS issue. Can you please give me a live URL and I'll take a look? Thanks.

MissShugah commented 9 years ago

This is a post I fixed http://www.drcarlhart.com/black-intellectual-does-not-mean-race-expert/

This is a post I didn't fix yet http://www.drcarlhart.com/patrick-kennedy-wants-keep-marijuana-illegal/ On Apr 4, 2015 4:59 AM, "Philip Arthur Moore" notifications@github.com wrote:

This sounds like a theme CSS issue. Can you please give me a live URL and I'll take a look? Thanks.

— Reply to this email directly or view it on GitHub https://github.com/philiparthurmoore/Subtitles/issues/43#issuecomment-89531557 .

philiparthurmoore commented 9 years ago

I'm very sorry for my late response. I have been swamped. I will take a look at this tomorrow.

philiparthurmoore commented 9 years ago

Hi @MissShugah. I just looked at your CSS and it seems like you put absolute positioning on the entry subtitle. Any reason for this? Why can't you use relative positioning like how it should be displayed by default? Thanks.

philiparthurmoore commented 9 years ago

Closing this out since it's a theme issue and not a plugin issue. Feel free to update me if you run into plugin-related issues in the future. Thanks.