Tharmakulasingam Jeyjenthan
asked 9 years ago

Hi everyone,

I have used your DW Focus theme to develop our news site. I want to have sligt changes on some features. Eg: I want to change the headings of latest news to come above featured image of the News. Where I have to change the theme.

Any help is appreciated.
Thank you

1 Answers
answered 9 years ago

You can open the dw-focus-latest-news.php file in the folder path "wp-content > themes > dw-focus > inc > widgets".
Also, you can tell me detail about the position which you want to change/ modify and please send me a screenshot for further checking, I will check and help you resolve it.

replied 9 years ago

Hi, Here is the snapshot of current template. I want to move the headline above for image and contents. I also want to change image smaller. Please let me know where I have to change. Your help is appreciated. Thank you.

replied 9 years ago

Hi, Another problem. In the sliding news section, some images cover whole section while some not cover whole section. In those cases, bottom part of this section becomes black . Here is the snapshots., , . But we used almost same size images. So how we can solve this problem. Your help is appreciated. Thank you.

dominic Staff
replied 9 years ago

Issue1: If you want to move the headline above for image, contents and change image size, you can open the dw-focus-latest-news.php file. Add the following code under line 43.

<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'dw_focus' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>

Then remove the line 58.

  • To change image size, you can add the following code to the style.css file:
.home .site-content .content-inner .entry-thumbnail img {
  width: 110px;
  height: auto;
.home .site-content .content-inner .has-thumbnail .post-inner {
  margin-left: 140px;

Issue2: If you want to display image in the DW Slider as our demo, you should use image size 770x400px. Please send me your site for further checking.


Powered by DW Question & Answer Pro