Tagged: 

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #732

    admin
    Keymaster

    To add permalink to the image of featured box, please open file: Kopa_Widget_Slider.php located at kopa/widgets and seek for following code (at about line 80)

    $html .= sprintf('<img class="responsive-img" src="%1$s" alt="%2$s" />', $thumb, get_the_title());
    

    and replace by this code:

    $html .= sprintf('<a href="%1$s"><img class="responsive-img" src="%2$s" alt="%3$s" /></a>', get_permalink(), $thumb, get_the_title());
    

    Open file:Kopa_Classes_Shortcode_Post_Slider.php located at:kopa/classes/Shortcode/Post do the same above (at line 45)
    To change the color of Anchor tag, open file style.css and add following code at the end of the file:

    .entry-box .post a, .entry-box .page a{
       color:##FF0033;
    }
    .entry-box .post a:hover, .entry-box .page a:hover{
       text-decoration:underline;
    }
    
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

News Letter

log in

Register

A password will be e-mailed to you.

    |    Lost your password?

Get new password

    |    Register