mgsisk / webcomic

Comic publishing power for the web. Turn your WordPress-powered site into a comic publishing platform with Webcomic.
http://wordpress.org/plugins/webcomic
GNU General Public License v2.0
110 stars 29 forks source link

Comic disappears when CSS applied #181

Closed ghost closed 10 years ago

ghost commented 10 years ago

Sorry for all these issues, but hopefully it helps others.

Whenever I apply CSS to the .next-webcomic-link and .last-webcomic-link which also have an opacity effect, the comic displayed on the page disappears at http://ealaionta.com/sz/

It only happens when I apply my CSS rollovers to the next and last links. The comic page still shows up if I only have CSS rollovers applied to first and next links. Is this a CSS conflict? I tried looking for the opacity class to remove it, but haven't found it yet. Will keep trying.

mgsisk commented 10 years ago

When linked Webcomic wraps the comic image in a standard anchor with the usual CSS classes, including next-webcomic-link and last-webcomic-link (as appropriate). You can avoid applying styles to it by being more specific with your CSS, like:

nav .next-webcomic-link { … }
ghost commented 10 years ago

Oh my goodness, I feel so silly for missing that. Thank you.