• Resolved art42

    (@art42)


    Hi

    I’m am currently trying to add a background to my page links.

    What is the best way that I could do this?

    If you could help it would be much appreciated.

    Thanks

    4rt

Viewing 7 replies - 1 through 7 (of 7 total)
  • Via your theme’s stylesheet. Unless you provide a link to a page demonstrating these links, no one will be able to offer much in the way of additional assistance.

    Thread Starter art42

    (@art42)

    Thanks for getting back to me. I’m currently at the design stage, however what i’m trying to do is have a graphical background for each of my navigational links.

    You mentioned Stylesheet. Is there a coding template which I could manipulate?

    Thanks

    Art

    normally, changes to formatting are made in style.css of your theme.

    naturally, details depend on the theme you are using.

    there are some tutorials out there in the web;
    search for ‘page menu with images wordpress’

    to give you some idea, for instance: https://sopov.com/component/content/article/65-how-create-rollover-image-menu-in-wordpress.html
    (untested)

    Thread Starter art42

    (@art42)

    Hi and thank you for the link.

    I am creating my own template and I have managed to get the images behind the links on the navigation bar :-).

    There is now however with now being able to see the whole of the background image. This is due to the fact that the different links have different character lengths and so reflects with how much of the background is shown behind the text.

    Is there a way where you can SET the width and height of the background for all the links?

    If you could help it would be much appreciated

    you can probably set the height and width in the same css styles that you used to add the background image; maybe by adding an extra ‘display: inline-block;’ or so:

    https://www.w3schools.com/css/pr_class_display.asp

    beyond this suggestion, it is back to what @esmi already said:

    … Unless you provide a link to a page demonstrating these links, no one will be able to offer much in the way of additional assistance.

    besides, this is a pure css issue, and has only little to do with wordpress ??

    Thread Starter art42

    (@art42)

    Great! You were right the display:inline-block was needed.

    Thanks you’ve been a big help, even though its css its much appreciated.

    Thread Starter art42

    (@art42)

    Even with out the link !You Rock! ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Background for page links.’ is closed to new replies.