• How can I specify custom images in my custom theme for the navigation buttons (e.g. next comic, random comic, first comic) for the different header? Currently these links appear above and below the webcomic centered left with little spacing between them. I’d like to center them in the middle, use custom images for the buttons, and disable the random button.

    Thanks in advance!

    Edit: page 1 url

    https://wordpress.org/plugins/webcomic/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Mike

    (@mgsisk)

    There are a couple of ways to do this, but – if you want to avoid messing around with PHP – a bit of CSS is probably easiest. Try adding something like this to your theme’s style.css file (at the bottom should be good).

    Thread Starter sschroeder256

    (@sschroeder256)

    Thanks for the reply! It’s gotten me most of the way there, I think.

    The navigation buttons are now automatically appearing on each webcomic page above and below the comic, but the only problem is that they’re invisible. I was able to see their hitbox by inspecting the element and highlighting the web code in question. The strange thing is that my image sizes are all 50×30, and these are an incongruous 100×42.

    page source and css

    Is it most likely that the images are there but invisible? And if so, what would be the best place to look for a fix?

    Thanks!

    sschroeder256, the URL for the images have to be the wordpress urls, so upload the images to your wordpress media library and take the urls from there and paste to the your CSS.

    Thread Starter sschroeder256

    (@sschroeder256)

    I’ve also tried putting images into the css like so, but encountered the same problem. How should the media library be properly accessed?

    Huh, just checked and they are still invisible. Strange.

    I don’t know how to help.

    Thread Starter sschroeder256

    (@sschroeder256)

    Well, thanks for looking at it nonetheless.

    Plugin Author Mike

    (@mgsisk)

    Looks like there was a typo in my CSS; changing inteagrated to integrated should correct the issue. You may also need to change the width and height properties (it looks like your images may be 50×30).

    Thread Starter sschroeder256

    (@sschroeder256)

    Haha wow, you nailed it, I cant believe I didn’t see that x_x
    And you’re right about setting the width and height, it matters.
    Thanks so much!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Nav button images in custom theme’ is closed to new replies.