WordPress.org

Ready to get started?Download WordPress

Forums

WP-Backgrounds Lite
[resolved] Request (5 posts)

  1. dgodfather
    Member
    Posted 3 years ago #

    I would like to request an option to allow custom links for your background images.

    http://wordpress.org/extend/plugins/wp-backgrounds-lite/

  2. InoPlugs
    Member
    Plugin Author

    Posted 3 years ago #

    Hey,
    I looked into it and created a working php/js code which applied a link to the background image however because of the nature of the plugin it doesn't make much sense/it doesn't work right. The problem is that the background image uses a layer which is behind the content and you can't click links which are part of the background layer. The result is that the link is applied to the image and the code is correct however you can't click the link because it's overlapped by the content layer. If you set the bg layer to z-index 0 or 1 the image is clickable but the content is overlapped and the images can't be considered as backgrounds anymore.

  3. dgodfather
    Member
    Posted 3 years ago #

    Looks like this guy has done it. Maybe you should check out his plugin.

    http://wordpress.org/extend/plugins/background-control/screenshots/

  4. InoPlugs
    Member
    Plugin Author

    Posted 3 years ago #

    Maybe I'm missing something but this plugin just adds a pure css background (not scaled to fullwidth) - the url option doesn't allow you to set a link but you can add external images by inserting the url to the image. This is also possible with wp-backgrounds - just paste the url in the "add background" text field.

  5. dgodfather
    Member
    Posted 3 years ago #

    Roger that. The link doesn't necessarily have to be attached to the background image. It seems as though this should be able to be worked out through the z-index as you mentioned, but may require a specific edit for each theme.

    For example the content problem in which you describe, if there is no z-index value assigned to the content CSS style then you would have problems like you mentioned.

    Any other clever ideas for getting a background link into this plugin?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic