Community Forums › Forums › Archived Forums › Design Tips and Tricks › Digital Pro – Modifying the "Journal" (archive / category.php)
Tagged: archive.php, digital pro, posts
- This topic has 1 reply, 1 voice, and was last updated 7 years, 3 months ago by DesignJunkie270.
-
AuthorPosts
-
January 14, 2017 at 1:45 am #199359DesignJunkie270Member
Completely & utterly perplexed by this.
So on the Digital Pro theme, the posts page formatting has the post title, entry-content and footer on the left with the image on the right. I'm trying to change that formatting, by having a long featured image (300px by 900px) on top, with the post title, excerpt and entry-footer right below. I have tried everything, but nothing seems to work!
I created an archive.php page, reset the format by using the code below and by commenting out related functions in the functions.php file. Nothing changed.
Next, i looked inside inspect element at the css generated. Some how, the featured image (entry-header class) has a height of zero. The post title, excerpt and footer (sitting inside the content class) is perfectly aligned with the image sitting off to the left. I tried changing display to block on individual elements, entry-header and entry-content classes but nothing is making it budge. Since some of the elements were floated:left, i tried clear:both, didnt work either. - This was all done inside the chrome inspector.
Finally looked inside the JS + lib folder in the child theme, but there doesn't seem to be anything related to this issue.
The demo of the Digital Pro theme uses the same exact styling, i tried to manipulate the CSS via Chrome inspector there too. http://my.studiopress.com/themes/digital/#demo-full
I'm pretty good at CSS, and a beginner at PHP maybe i missed something. I have noooo idea what is going on, thought i would ask the forums. Any ideas? 🙂
//* Remove the entry meta in the entry header & the entry image remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 ); remove_action( 'genesis_entry_header', 'genesis_post_info', 12 ); remove_action( 'genesis_entry_header', 'genesis_do_post_title' ); remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 ); remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 ); //* Put it all back in order add_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 ); add_action( 'genesis_entry_header', 'genesis_do_post_image', 6 ); add_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 ); add_action( 'genesis_entry_content', 'genesis_do_post_title', 7 ); add_action( 'genesis_entry_content', 'genesis_post_info', 8 ); add_action( 'genesis_entry_content', 'genesis_do_post_content' );
January 14, 2017 at 3:30 am #199370DesignJunkie270MemberNever mind.... I found the answer. I think i had been staring at the website too long. 🙂
Just in case anyone is looking for the answer, our very own Brad Dalton had a posting on this:
http://wpsites.net/web-design/customize-alignment-of-archive-page-elements-in-genesis/ -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.