ckubs george
asked 5 years ago

DW Focus has a lot of potential to be awesome but it’s always something missing or some features are removed after the update.

Noticed that after the latest update both DW News Grid widget and archives don’t have same size thumbnails like before. And in the archive case at last, it looks awfull with different aspect ratio thumbnails, as you see http://oi62.tinypic.com/55rpt0.jpg

Well and in the case of DW News Grid, all I did was to register a custom thumbnail size add_image_size('custom_thumb', 460, 276, true ); … made it larger to cope with different sizez when scalled down with CSS based on the number of columns. And replaced your code with this, in dw-focus-news-grid.php:

<?php echo get_the_post_thumbnail($post_id, 'custom_thumb'); ?>

I would do the same with the archive but I don’t know where to add my custom thumbnail code. Also, I’m afraid that I would loose all those tweaks when I’ll update and it would be nice if you would do something about that.

Also, the redesigned tabs widget, the archive header( with the grid/list switch), and the white mobile menu don’t look as good or noticeable as before, wjen they had less lines. Those clean black areas were like a trademark of the DW Focus Theme. http://oi58.tinypic.com/opmwj5.jpg

Also, you should update the theme CSS to benefit more from categories custom colors. It would be an feature to make the theme stand out. The main color of the theme is red. But, if I choose green for the first category as an example, when I view an post from that category, or the category page, only some stuff is green, and the rest is still in the red theme accent color. http://oi62.tinypic.com/5ygups.jpg

2 Answers
Jackie Lord
answered 5 years ago

DW Focus already registered a custom image size for News Grid & Archive called dw-focus-archive, you can change this size by overridingdw_focus_setup function in your child theme.

For other style issues, I will consider to update in the next version of DW Focus.

ckubs
replied 5 years ago

So basically I have to add a functions.php file to my Child theme and add the code there?

Jackie Lord
answered 5 years ago

Yes, please add a functions.php file to your child theme. This is sample code to overide dw_focus_setup function:

<?php
function dw_focus_setup() {
  load_theme_textdomain( 'dw-focus', get_template_directory() . '/languages' );

  add_theme_support( 'automatic-feed-links' );

  add_theme_support( 'post-thumbnails' );

  add_theme_support( 'title-tag' );

  register_nav_menus( array(
    'primary' => __( 'Primary Menu', 'dw-focus' ),
  ) );

  add_theme_support( 'html5', array(
    'search-form', 'comment-form', 'comment-list', 'gallery', 'caption',
  ) );

  add_theme_support( 'post-formats', array(
    'audio', 'image', 'video', 'gallery',
  ) );

  add_image_size( 'dw-focus-archive', 230, 130, true );
  add_image_size( 'dw-focus-slider', 710, 400, true );
}
ckubs
replied 5 years ago

When I set up the new DW Focus 1.2.6 I used the main theme not a child theme. And I didn’t had the necesarry time to activate the child theme and put again all the widgets in their places. But I guess I foud the problem. DW Focus was missing the height parameter from add_image_size. Added that and I will probably activate a child theme later on when I’ll find a way to keep all the widgets in their places or I’ll have more time to reposition them in the sidebars. 🙂 Thank you. And ford the rest are not necesarrly issues, but they will make the theme stand out. To have the theme accent colour replaced everywhere with the category accent colour where I have set one for the category. And you should take into consideration the older black areas( category header … etc) they were more noticeable and cooler than the current design. Even Google logo got bolder.

ckubs
replied 5 years ago

I don’t know if this is how DW focus looked prior the update but even the pagination looked cooler with black hover and active item with the background category accent color. Even the color of main menu links, each with the selected category accent color, look way too cool.

Also, I notice something. There are too little social media icons. You should enhance a little that area in theme admin. To offer more predefined social icons or to give the user the abillity, to put a link, chose an social icon from Fontawesome icons( like in the Mega Menu case) and color plus background color of the icon.

ckubs
replied 5 years ago

Forgot about the site link, and i don’t see an edit comment link: http://trendsonline.staging.wpengine.com/category/debat/

Powered by DW Question & Answer Pro