hi staff
congratulations for the nice theme
I would like to help to change the category widget on the homepage.
I would like the item photo featured on the left side of the class was great and the title of the article under the photograph.
Suggestions?
thanks
Please find the solution in the following question:
http://www.designwall.com/question/how-to-add-thumbnail-images-to-all-posts-within-a-category-on-the-homepage/
Hope this helps !
Thanks, but the question you indicated I had seen, but not about what I want. I would like the larger size of the photo of the first article of the category on the left. He is currently in thumbnail format.
Hi,
To resolve this issue, you can do as the following:
– Open the dw-focus-categories.php file in the folder path “wp-content\themes\dw-focus\inc\widgets”. Find the line 246,
Replace the following code:
<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_post_thumbnail('thumbnail'); ?></a>
With new code:
<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_post_thumbnail('medium'); ?></a>
– Add the following code to the Header Code (Dashboard > customize > Custom code.)
<style>
.widget.news-category .entry-meta, .entry-title, .entry-content { clear: left; margin-left: 0 !important; }
</style>
Hope this helps !
Nice!! Thank you very much. By
Please login or Register to submit your answer