Background image theme link on mobile

Community Forums Forums General Discussion Background image theme link on mobile

This topic is: not resolved

This topic contains 4 replies, has 2 voices, and was last updated by  nicosawicki@gmail.com 1 year ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #51888

    nicosawicki@gmail.com
    Participant
    Post count: 11

    Hi!

    I’m having trouble getting my logo (home page link) to work on mobile.

    My logo is based on a background image with this CSS:

    .logo {
    	background: url(http://localhost:8888/psb/wp-content/uploads/2013/07/logo-header@2x.png);
    	background-size: 110px 160px;
    	width: 110px;
    	height: 160px;
    	background-repeat: none;
    	display: block;
    }

    and I inserted the following code on the genesis_header Hook via the Simple Hooks plugin:

    <div class="logo"><a class="logo" href="/psb"></a></div>

    The link works fine when the site is on the “desktop version”, but stops working when I resize my window to simulate mobile.

    Can’t really show you since I’m developing the site locally.

    Any ideas would be greatly appreciated,
    Thanks!

    #62696

    cdils
    Participant
    Post count: 421

    Hi,

    Do you have a live version yet? Are you still needing help?

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    #62716

    nicosawicki@gmail.com
    Participant
    Post count: 11

    Hi Carrie,

    Yes, the site is live now and I could solve de problem.

    http://www.paraserbella.com

    Thanks anyway!

    #62816

    cdils
    Participant
    Post count: 421

    It looks great!


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    #62817

    nicosawicki@gmail.com
    Participant
    Post count: 11

    Thanks! :D

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.