Support » Themes and Templates » Link Problem

  • I am redesigning the theme for my website; I want to make it responsive (adaptable to multiple devices). The problems occurs when I re-size my screen to about 750px and the tablet stylesheet implements. All of my other links work outside of the custom one on my home page.
    this is the code:

    <a class="link" title="Objective" href="http://localhost/Demo/objective/">More Info</a>

    It works with the primary stylesheet just fine. I tried using:

    ”<a class="link" href="<?php bloginfo('url'); ?>/objective" title="objective">More Info</a>`”

    when I applied the content directly in the php page template and it still does not work. the link to that stylesheet is this:

    <br />
             <!-- tablet --><br />
          <link href="<?php bloginfo("template_url"); ?>/tab_style.css" rel="stylesheet" type="text/css" media="only screen and (min-width:450px) and (max-width:749px)"><br />
    Anyone knows what can be causing this problem?
Viewing 4 replies - 1 through 4 (of 4 total)
  • Emil Uzelac


    Theme Review Admin


    I am guessing that every new topic on WPORG that has anything to do with “responsive” will be linked to my Responsive Theme just because it’s named “Responsive” and even though this or any other topic isn’t really related to this specific Theme. But that’s quite allright.

    Anyways, please take a look at and either grab what you need from it, or even take the entire Theme if you wish.

    Another FYI is that localhost doesn’t always behave nicely when it comes to media queries, especially if you’re on Internet Explorer, but it could be any other as well. It’s always good thing to do this on the actual live server if you can, simply setup your WP on and go from there.


    thanks for the help any way.

    If anyone is having problems finding a responsive theme (not free though), there are premium versions available with usually lots of support. WordPress Responsive Themes.

    Actually, I fixed the problem. All I did was change the name of the stylesheet from tab_style.css to tablet.css. WordPress was freaking out over the word “style” in the alternative stylesheet. Buying a theme would totally defeat my purpose, but thanks for the offer.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Link Problem’ is closed to new replies.