1. I am little confuse about your question. Are you mentioning about the single post image? And you need the image rectangle? Please make me clear.
2. You have to customize by using css. You can add the below code to style.css
.home a.entry-link {
background: #b23d0a !important;
}
Note: Child theme is recommended to customize theme.
I will do best for solving your problem. 🙂
Thanks
Hello WEN Solutions,
Thank you for replying so quickly.
Once clicked on my blog, http://www.cranberryandapricot.com, you will see lots of square images. I seem to have no control over which photograph displays within these squares.
In each blog post, I can post photographs and there is the option to set a featured images. The feature image however, displays full width within the blog post, I did not want this therefore I haven’t selected to set a featured image within my blog posts.
I was wondering if there is an option within my blog posts so I can select which image will be displayed as a cube on the home page of my blog. At the moment, it seems to just select random images from my blog itself.
I will try that code tonight, thank you for getting it for me 🙂
Thanks for your help!
Sorry, I just noticed that my original hyperlink seemed to link to the wrong page, not sure how that happened.
This is the link to my blog: http://www.cranberryandapricot.com
I found your issue and it is arise due to theme bug. If you are familiar with code and child theme, you have to remove some code from the theme.
1. Remove code of content.php
line number 7, 8 and 9.
if ( 1 != get_theme_mod( 'boardwalk_no_featured_image' ) ) {
$featured_image = boardwalk_get_image( get_the_ID(), 'boardwalk-featured-image' );
}
2. Remove code of content-single.php
line 9, 10 and 11.
<div class="entry-thumbnail">
<?php echo get_the_post_thumbnail( get_the_ID(), 'boardwalk-hero-image' ); ?>
</div>
3. Check Keep title with content on single posts and pages.
options from theme options.
It will work on your site. While doing this it worked on me.
On the above issue of making boxes darken you can simply check Add a dark filter to featured images
options from theme options.
If any issue arise by doing this, please feel free to ask. 🙂
Thanks
Thank you so much, I will try that tonight!
About adding the dark filter to featured images, as far as I know, this just darkens the image. I had just wanted to darken the grey/black box (behind each post title) slightly so that the text was more readable. I would like the photograph to be left it’s original brightness
Would you know if this is possible please?
Thanks again.
I’ve deleted the code you said which fixed my issue so now when I select a featured image it sets the image I was actually wanting to use. However on the blog post’s it now has the blog title and background colour where the image was supposed to me. I’ll attach a link to what I mean.
http://www.cranberryandapricot.com/las-vegas/
As you can see on the home page the feature image for “Las Vegas” has been set, but on the post page it now has a transparent gray box over the blog title. Would you know how to fix this? 🙂
Thanks once again!
Have you check the options from customizer. I already mentioned on no 3 above.
3. Check
Keep title with content on single posts and pages
. options from theme options.
Please try this, if not work i will help you.
Thanks
Is all the issue solved? If remain let me know. I will try to help you more.
Thanks
Sorry for my late reply. Yes thank you, the code worked great for sorting out the featured images.
I will try the code you mentioned above to darken the rectangles behind my blog titles on the home page:
.home a.entry-link {
background: #b23d0a !important;
}
Thanks for your time, I really appreciate it! 🙂
Sorry WEN Solutions. I tried the code above but this darkened the hover colour on the square images on my blog. I should have been clearer but it is quite hard to explain what I mean.
On my home page http://www.cranberryandapricot.com, there are square images. Towards the bottom each square image there is a black rectangle that has the blog title written over it. I would like this black rectangle to be darker so that the white text is more readable.
Do you know if it is possible to change the opacity/transparency of this black rectangle behind the text?
(I have tried ticking ‘Add a dark filter to featured images’ option from theme options but this darkens the entire photograph, I only want to darken the opacity of the black)
I hope I am a bit clearer this time.
Thank you.