Tagged: excerpts, Header, slider images
- This topic has 5 replies, 4 voices, and was last updated 11 years ago by Rabin Shrestha.
-
AuthorPosts
-
August 16, 2013 at 1:24 pm #3298karenstlParticipant
1) Is there CSS that I can use to make the header clickable to go back to the home page:
2) I also would like the blog excerpts and sidebar to be below the Featured Image widget on the home page which is the Business template. Ideally, the home page would look like the Blog page with the Featured Image widget between the slider and the excerpts.
3) I would like the slider posts on just the Home page and Blog page, but none of the other pages. Is this possible with Custom CSS?
August 18, 2013 at 10:05 am #3330XavierCMemberhi,
1) not as i know of by CSS, but you can achieve this by editing the attitude-pro/library/structure/header-extension.php file.
Around line 266, find this one :
<img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
Add your link to this line, example:
<a href="http://www.archcityhomes.com/"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"></a>
This should work
2)i don’t know
3) not by custom css for sure, but by editing the structural files of the theme, it is possible, but i don’t know how, sorry
August 19, 2013 at 4:12 am #3350karenstlParticipantStill hoping to get a response from the theme developer. I really don’t like going into my theme files on my host. Too easy to break something. Prefer to use the Custom CSS box.
August 19, 2013 at 9:20 am #3369Rabin ShresthaParticipantHi Karenstl,
1) Currently you are using header image so it’s not clickable. Instead you can use Appearance->Theme Options->Desing Options->Custom Header->Header logo option which has link to home page.
2) No, you cannot show blog posts in business template. You have to tweak the code. It would be better to hire someone for this task
3) Couldn’t understand what you are actually trying to say. But normally slider posts should only appear in blog page along with other posts, where else is slider post appearing?
Rabin
January 8, 2014 at 1:43 pm #6101HoneydewParticipantYour first suggestion work beautifully, Rabin. THanks a lot.
January 9, 2014 at 8:03 am #6128Rabin ShresthaParticipantNo Worries 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.