Colorway Pro slider link is opening new window

Discussion in 'ColorWay WordPress Theme' started by johndandelski, May 14, 2014.

  1. johndandelski

    johndandelski Guest

    Joined:
    May 12, 2014
    Messages:
    8
    Likes Received:
    0
    When I click on the image presented in the slider, it is opening these links in a new tab or window. I've tried this on chrome, safari and Firefox. All three are doing this. I've cleared the cache as well.

    I also tried inserting the following into the Custom CSS within Styling Options.

    {
    a.slider {target="_self"}

    Why are the links opening a new tab and not staying on the same page?

    Thanks

    p.s. I just got this yesterday and is version 3.2.6

    thanks again for any help.
     
  2. johndandelski

    johndandelski Guest

    Joined:
    May 12, 2014
    Messages:
    8
    Likes Received:
    0
    I can see in the code it actually is using the target="_blank". Why would I want to use those sliders to send someone off site? That would be the exception to the norm, I think.

    I've been out of this game too long to try to figure out where to comment this code out or modify it. I could not find it in the style.css. Here is the View Source: I have the offending code in red. Help! Thanks!!!!!!!
    <!--Start Slider-->
    <div class="grid_24 slider">
    <div class="slider-container">
    <div id="slides">
    <div id="slide-box">
    <div class="slides_container col-full slide-fix" >
    <div class="slide slide-1" >
    <div class="slide-content entry fl">
    <h2 class="title"><a href="our-office/" target="_blank">Getting you out of pain is what we do. </a></h2>
    <p>We heal patients just like you every single day.</p>
    </div>
    <!-- /.slide-content -->
    <div class="slide-image fl"><a href="our-office/" target="_blank"><img src="http://www.sportandwellnesschiropra...nt/uploads/2014/05/womanmountain_homepage.png" class="slide-img" alt="Slide 1"/> </a></div>
     
  3. johndandelski

    johndandelski Guest

    Joined:
    May 12, 2014
    Messages:
    8
    Likes Received:
    0
    it isn't the way I wanted, but it is found in the front-page.php file and can be edited at each instance. If there was a more elegant way of doing that I'd appreciate someone letting me know. Be sure to make the target="_self" for both the slider AND the image.
     
  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    There is no other way to restrict target_blank. You are following correct direction.

    Thanks & Regards
    Nitesh Raghuwanshi
     
  5. mikereff

    mikereff New Member

    Joined:
    Aug 7, 2014
    Messages:
    18
    Likes Received:
    0
    Is there any updated way to resolve this? I would love a simple workaround to make sure the slider opens the link in the same window, seems pointless this way?
     
  6. priya

    priya Guest

    Hello,

    Greetings from InkThemes!

    Sorry, but that the same method which you have to follow to open any link in the same tab.

    If you still have the same issue and don't want to use above method, then you can download the latest version of the ColorWay theme from the members area as your required feature is available there.

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     

Share This Page