• Resolved the1jc

    (@the1jc)


    I’ve added 4 images inside a theme’s CSS. They are unattached to any page or post. These images are supposed to be for navigation, but I don’t see a method to add a link to each of them?

    This is the CSS code:

    #secondnav {
    	display: inline-block;
      	height: 200px;
    	background: #eaeaea;
    	width: 1060px;
    	padding: 0;
      	margin: 0;
    	background-image: url(http://lusterlandsfarm.com/wp-content/uploads/2013/12/button-1b-265x2001.jpg),
    	url(http://lusterlandsfarm.com/wp-content/uploads/2013/12/button-2b-265x200.jpg),
    	url(http://lusterlandsfarm.com/wp-content/uploads/2013/12/button-3-265x200.jpg),
    	url(http://lusterlandsfarm.com/wp-content/uploads/2013/12/button-4-265x2001.jpg); /* Note trailing 1 in some image names. WP modified it. */
    	background-position: 0px 0px,
    	265px 0px,
    	530px 0px,
    	795px 0px;
    	background-repeat: no-repeat;
    }

    The images are the 4 horizontal images at:
    Luster Land Farm site

    Thanks in advance…
    _jim coe

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator cubecolour

    (@numeeja)

    You need to build a menu or otherwise build the linked elements in the html. You cannot make an element into a link in css, the links need to be in the html, and the css will then style each link.

    As you are not using a theme from the WordPress.org theme directory, you would need to contact the theme author for customization support, In the case of your theme, meeta, this will be at http://www.wpzoom.com/support/

    Thread Starter the1jc

    (@the1jc)

    So, “I can’t get there from here”.

    Thanks Cubecolour, I’ll see if the theme author can help.

    Or I’ll try to use the same code approach I used in the theme CSS in each static page for navigation – using the “#secondnav”. Or, better still, since the theme seems to allow a secondary menu, I may be able to use that. The required layout is for the image menu below the header and main menu above the header.

    Or perhaps some kind of a slider plugin for the secondary menu. One of the things I love about WordPress is that the more you learn, the more options you have to solve unusual issues – making WordPress more flexible than it at first seems.

    Moderator cubecolour

    (@numeeja)

    If the theme was hosted here on WordPress.org, the best place to get support for customising it would be on the theme’s own forum on WordPress.org where that theme author or someone else using the theme would be likely to see yiur question and possibly help. As the theme was obtained elsewhere, the author’ own support offering is the best place to get help as the theme may have a widget area or a hook to make it a lot easier to achieve what you are trying to do.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add link to unattached images?’ is closed to new replies.