Naz Oke
asked 9 years ago

Hi,

2 widgets new list, into dw column (2 columns).
The title of the first post is strange…
if I choose "excerpt" it’s more long

There is a problem, or something escapes me ? πŸ˜‰
Thank you

http://www.kedistan.net/

![screenshot](https://www.dropbox.com/s/zrhgrgctx41au5a/dw-focus-widget-pb.png?dl=0 "enter image title here")

4 Answers
DominicStaff
answered 9 years ago

Hi,
To resolve this issue, you can log in to Dashboard > DW Focus > General > Add the following code to the Custom css.

.dw_focus_widget_news_list .post .entry-thumbnail {
    position: inherit;
    float: left;
    margin-right: 20px;
}

.dw_focus_widget_news_list .post {
    padding-left: 0;
}

Hope this helps !

Naz Oke
answered 9 years ago

Thank you Dominic,
I tried it, but now the thhumbnail image hide the title.
You can see it HERE

dominic Staff
replied 9 years ago

Have you tried to add the following code to the Custom CSS section:

.dw_focus_widget_news_list .post .entry-thumbnail {
    position: inherit;
    float: left;
    margin-right: 20px;
}

If you have added the code line in the Custom CSS section that still face there issue, you can send me username & password of your site (via private answer) for further checking.
Regards,

dominic Staff
replied 9 years ago

I have helped you resolve it you can check the DW News List widget now.

Naz Oke
answered 9 years ago

Super! Thank you. πŸ™‚ How did you do that ?
If I add same widgets it will be ok ?

  • Could you please check again. The next widget (DW Column/DW list) (Category "Femmes") has another problem with the title. First part of the title is up side, and the last part is under the thumbnail. It’s not the same for "Jeunesse" at the right.

![title category "femmes"](https://www.dropbox.com/s/vfhwelgi53s6yjj/dw-column-2-title.png?dl=0 title "femmes")

The title of this post at the left begin with little words. I tested : if I remove spaces between little words, the title is under the thumbnail.

![title spaces removed](https://www.dropbox.com/s/ltvj6kmgmi3uspy/dw-column-%20femmes.png?dl=0 "title spaces removed]")

  • Is it not possible to set up thumbnails rectangular, but not square format? If it’s a solution, go for it! I really prefer the rectangular format πŸ™‚
DominicStaff
answered 9 years ago

I have helped you resolve this issue. To resolve this issue, you should use the codes line in the DW Focus > General Settings.
To set up thumbnails rectangular, you can open the \wp-content\themes\dw-focus\inc\widgets\dw-focus-news-list.php file. Find the line 130.
Replace the following code: <div class="entry-thumbnail"><a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'thumbnail' ); ?></a></div>

With new code: <div class="entry-thumbnail"><a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'dw-focus-archive' ); ?>
Hope this helps !

nazou
replied 9 years ago

It’s ok. I tried it. It works. But the focus archive image is very small (not like other widgets, news grid for exemple.
Is it possible to have same miniatures ? If it’s not possible, any problem. πŸ™‚

dominic Staff
replied 9 years ago

I have fixed it.

nazou
replied 9 years ago

fantastic ! Thanks again…

Powered by DW Question & Answer Pro