-
AuthorPosts
-
June 17, 2014 at 5:48 pm #280122
Hello,
I would like to insert the same image under the breadcrumbs bar in all post of my blog, just over the featured image of every post. I don’t know if it is possible to do.
Thanks so much.
June 17, 2014 at 9:46 pm #280220Hi adrianej!
Can you post a mockup showing the changes you would like to make?
Regards,
YigitJune 18, 2014 at 2:14 am #280330Hello Yigit,
I need to place the image as is indicated in the next picture (the grey rectangle). It is placed under the breadcrumbs bar and above the post image.
Thanks so much.
June 18, 2014 at 6:31 am #280365Hey!
Thank you for the screenshot.
You can add this on functions.php:
add_filter('avf_title_args', 'avf_add_bottom_container', 10, 2); function avf_add_bottom_container($args,$id) { if(is_single) { $args['html'] = "<div class='{class} title_container'><div class='container'><{heading} class='main-title entry-title'>{title}</{heading}>{additions}</div></div><div class='below-title-container container_wrap'><div class='container'></div></div>"; } return $args; }
Apply the image as background using the div.below-title-container.container_wrap div.container selector on Quick CSS:
div.below-title-container.container_wrap div.container { background: url('IMAGE URI HERE'); height: 20px; } div.below-title-container.container_wrap { border: none; } .single div.stretch_full.container_wrap { border-bottom: 1px solid #e1e1e1; }
Cheers!
IsmaelJune 18, 2014 at 9:14 am #280420I have added the code but it doesn’t work. A new line appear under the breadcrumbs bar but nothings happened.
I tried to add this code that I have seen in other forum post in functions.php, but it happened this problem .
function after_head_image_func(){
echo “<div class=’custom_content’></div>”;
}
add_action(‘avia_meta_header’, ‘after_head_image_func’);Thanks in advance
June 19, 2014 at 6:20 am #281010Hi!
Apply the after_head_image_func code again and reply to this topic so we can try to debug it live.
Cheers!
JosueJune 20, 2014 at 11:32 am #281551Hello Josue,
I can’t apply all the time because the webpage is working. I am connected, so when you write the message, I will apply the function.
Best regards.
June 20, 2014 at 6:35 pm #281719Hi,
Can you please create me an administrator account? post it here as a private reply.
Provide the URL of the image you want to include.
Regards,
JosueJune 20, 2014 at 8:16 pm #281770This reply has been marked as private.June 20, 2014 at 9:16 pm #281797It’s done:
http://lalibretadelmister.com/el-truco-de-la-pelota-parada/You can edit the image here:
http://lalibretadelmister.com/wp-admin/theme-editor.php?file=single.php&theme=enfold&scrollto=219&updated=trueBest regards,
JosueJune 20, 2014 at 9:29 pm #281800Thanks so much!
June 20, 2014 at 10:02 pm #281807You are welcome, always glad to help :)
Regards,
Josue -
AuthorPosts
- The topic ‘Image under Breadcrumbs’ is closed to new replies.