Martin Schmidt
asked 9 years ago

couple of days ago, I purchased your WP theme “Focus”. Now, I’m working with this theme. But tehre#s one question – maybe some more will follow 😉
In your demo as well in my installation, the link from “The Big Story” (start page) does not work by glicking the text (beside the image). The browser’s status bar shows a correct URL. It’s the same URL placed in the text link at the bottom of the image (large letters) but thei link works fine. So do I have to make any changes (i.e. the *.css file) to make the link running.
Thanks a lot

3 Answers
answered 9 years ago

To resolve this issue, you can open the custom.js file in the folder path “dw-focus>/assets/js/custom.js”. Find the line 34, remove the following code:

   // Slide controls

   $('.news-slider .other-entry li').on('click',function(e){


       var t = $(this);

       t.closest('.news-slider').find('.carousel').carousel( t.find('a').data('slice') );


– Open the dw-focus-slider.php file in the folder path “dw-focus>/inc/widgets/dw-focus-slider.php” find the line 142, replace the following code:

  <h2><a data-slice="<?php echo $i; ?>" href="#top-store-<?php the_ID(); ?>"><?php the_title(); ?></a></h2>

With new code:

  <h2><a data-slice="<?php echo $i; ?>" href="<?php echo the_permalink(); ?>"><?php the_title(); ?></a></h2>

 Then Find the line 83, replace the following code:

<?php the_post_thumbnail('slider-thumb');  ?>

With new code:

<?php echo '<a target="_blank" href="'.get_permalink().'">'.get_the_post_thumbnail( get_the_ID(), 'slider-thumb' ).'</a>'; ?>

 Hope this helps !

Martin Schmidt
answered 9 years ago

Hi Dominic,
thanks a lot, I will try to do so.
But there’s a new question concerning this section.
I modiefied the background-color of “THE BIG STORY”. Now, I tried to modify the color (and some other settings) of the Text in my child-theme. But I do not find where to change. I think it’s in the file /assets/template.css – but where?
Best regards,

Martin Schmidt
answered 9 years ago

.news-slider .carousel-list h3 {

    border-bottom: 1px solid #222;
    color: #fff;
    font-family: “NovecentowideNormalRegular”,Georgia,”Times New Roman”,Times,serif;
    font-size: 11px;
    line-height: 40px;
    margin: 0;
    position: relative;
    text-align: center;
    text-transform: uppercase;


Powered by DW Question & Answer Pro