Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #727189

    Hi guys,

    On a new development site I have created icon boxes in the footer. The 2nd and 4th should link to external websites and open in a new window. On the screen shot you can see which two boxes I mean.

    When you click on the icon box itself, the link is being opened in the same window.
    When you click on the icon or title, the link is being opened both in the same and in another window.

    ???

    Please advise.

    Thanks & regards,
    Monique

    #728277

    Hey Monique,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Andy

    #729806

    Hi Andy,

    Please find below.

    On Monday and Tuesday (9 & 10 Jan) we will be working on the website ourselves, so it would be great if you could look at it before :-)

    Looking forward to your findings.

    Best regards,
    Monique

    #730286

    Hi,

    There might be some corrupted files, so please delete all theme files completely via FTP, before installing a fresh copy from your themeforest account. Here is a short tutorial on how to install the theme via FTP, in case you are not sure how that works:

    Best regards,
    Andy

    #730295

    Hi Andy,

    Ok thanks. I’ll do that.
    Can I leave the child theme as it is?

    Regards,
    Monique

    #730364

    Hi,

    Yes please, the child theme should be left as it is.

    For testing purpose after manually updating the theme please activate the main theme (the site may look a little different because all your settings are saved in child theme).

    If the issue does not persist activate the child theme :)

    Best regards,
    Vinay

    #731137

    Hi Vinay,

    I followed your instructions and installed a fresh copy of Enfold.

    • When I active Enfold main theme the links of the two items work as they should: title and icon open in a new window and (of course) there is no link on the icon box itself.
    • When I activate the child theme, the two items no longer link correctly. They open as I explained above.

    As long as I had these icon boxes in the content of the website, they worked well, but since I put them in the footer, they don’t work well anymore.

    I wonder if perhaps footer settings could have this impact? Or is it the css I added (and which I had to change to be used for the footer) which is not correct? Fyi the css code below.

    Thanks & regards,
    Monique

    
    #footer .textwidget .icon-box-height {
    	min-height: 230px;
    	border-radius: 4px!important;
    	box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.3);
    	background-color: #f0f0f0;
    	margin-top: 30px;
    }
    
    #footer .textwidget .icon-box-height .iconbox,
    #footer .textwidget .icon-box-height .iconbox_top,
    #footer .textwidget .icon-box-height .iconbox_content {
    	margin-top: -1px!important;
    	border: 0!important;
    	background:transparent!important;
        box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0)!important;
    }
    
    #footer .textwidget .icon-box-height {
        cursor: pointer; /* hele icon box link maken */
    }
    
    #footer .textwidget .icon-box-height:hover {
    	background-color: #e6e6e6;
    }
    
    #footer .textwidget .iconbox_top .iconbox_content {
        padding: 45px 10px 10px; /* smallere padding links en rechts */
    }
    
    #footer .textwidget h3.iconbox_content_title a {
    	font-size: 26px;
    }
    
    #footer .textwidget .iconbox_content_container p {
    	font-size: 12px;
    }
    
    
    #731629

    Hi,

    then you’re using some custom code inside your child theme, which is causing this issue. Remove any of it to find out wich one is causing it.

    Best regards,
    Andy

    #731977

    Hi Andy,

    Obviously there is a conflict when you combine a link in an icon box together with target=”_blank” in de footer and I am pretty sure that my custom CSS has a influence on that. So a concession has to be made. I have advised my client to skip the idea to open those links in a new window and hope he will accept. That (I have tested) will solve the whole issue :-)

    You can consider this topic as closed.

    Thanks for your help & have a nice day!

    Regards,
    Monique

    #732318

    Hi,

    alright, glad you found a solution for you so far.
    Let us know in a new ticket if you have some more questions about our themes. We’re happy to support you.

    Best regards,
    Andy

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

The topic ‘Link target="_blank" not working correctly’ is closed to new replies.