Featured image and working with text columns

This topic has 19 replies, 4 voices, and was last updated 9 years, 7 months ago ago by Eva Kemp

  • Avatar: SelinaShine
    SelinaShine
    Participant
    April 7, 2015 at 10:29

    Hi there,

    Very sorry if this post isn’t in the right place…

    I’m working on a website for a client using the Legenda theme. I’m running into some difficulties and could really use some help!

    For the subpages I’d like to use the featured image area to add a header image. Currently I’ve added the image inside the texteditor with “Add Media”. However, my client is going to update the website regularly and I’m worried the image wont be in the exact same position when it’s placed with the text editor. When it’s a featured image I can add some custom css aswell, making sure the banner is exactly the same on every page. I’m using the Default Template and when I try to add a featured image nothing is showing up when the page is publiced. Is there any way to make this work?

    Another question: on the subpages of the website I want the text to be in 2 columns. When I use the option Column 1/2 in the text editor, the columns end up beneath eachother instead of next to eachocher. Is there a way to fix this? Or maybe some costum css so that the text automatticaly is placed in 2 columns?

    Any help is very much appreciated! Thank you in advance!
    Cheers,
    Selina

    18 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    April 7, 2015 at 13:11

    Hello,

    Please provide us with wp-admin panel credentials in Private Content.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: SelinaShine
    SelinaShine
    Participant
    April 9, 2015 at 10:45

    Any sollution yet?

    Avatar: Brian Johnson
    Brian Johnson
    Member
    April 9, 2015 at 11:04

    Hello

    Please also clarify your requset with screenshots/details or links to the pages where you used your solution for featured images.

    With best regards
    Brian Johnson

    Avatar: SelinaShine
    SelinaShine
    Participant
    April 9, 2015 at 11:17

    Hello,

    I haven’t found a solution for the featured image yet. For example this page:
    http://digisteun.nl/?page_id=10

    The banner image (with the coffee) is set in the texteditor (see screenshot) but I need it to be the featured image so it’s easier for my client to adjust. Also, I can give it a custom css if needed when it’s a featured image. I’ve uploaded an image (see screenshot) but it’s not showing on the page.

    image inside texteditor

    featured image which is not showing on the page

    Avatar: Eva
    Eva Kemp
    Support staff
    April 9, 2015 at 12:04

    Hello,

    Did you receive our previous post?

    Please provide us with wp-admin panel credentials in Private Content.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: SelinaShine
    SelinaShine
    Participant
    April 9, 2015 at 12:10

    Didn’t you recieve them? I’ll try again!

    Please, contact administrator
    for this information.
    Avatar: Brian Johnson
    Brian Johnson
    Member
    April 9, 2015 at 12:25

    You may create create “blog post” pages and hide breadcrumbs/sidebars/commenting option with css for them. The featured image works fine on this pages.

    With best regards
    Brian Johnson

    Avatar: SelinaShine
    SelinaShine
    Participant
    April 9, 2015 at 12:29

    Thanks for the reply!

    However, I need this to work for just regular pages or I should build the entire website as a blog. Isn;t there a way to do this on a normal page? Maybe with an other tamplate than the default template?

    Avatar: Eva
    Eva Kemp
    Support staff
    April 9, 2015 at 13:24

    Hello,

    You can edit the file page.php in the directory wp-content/themes/woopress and add this code:

    <?php if(has_post_thumbnail()): ?>
    			<div class="wp-picture">
    				<?php the_post_thumbnail('large'); ?>
    						<a href="<?php echo etheme_get_image(); ?>"</a>
    						<a href="<?php the_permalink(); ?>"</a>
    					</div>
    					
    		<?php endif; ?>

    after the code <div class="content <?php echo esc_attr($content_span); ?>"> on line 40.
    This way featured image should be shown on pages.

    Regards,
    Eva Kemp.

    Avatar: SelinaShine
    SelinaShine
    Participant
    April 9, 2015 at 13:35

    Thank you for the reply!

    However, I don’t have a folder “woocommerce” in the directory. Only wp-content -> themes -> Legenda. But I can’t find the line of code you refered to in the page.php file in Legenda.

    Avatar: Eva
    Eva Kemp
    Support staff
    April 9, 2015 at 14:16

    Hello,

    As I see featured image is shown now.
    Were you able to resolve the issue?

    Regards,
    Eva Kemp.

    Avatar: stan
    Stan Russell
    Participant
    April 9, 2015 at 14:16

    Hello,

    please provide us with FTP access for your site in private access. Please specify are you using Woopress or Legenda theme?

    Regards,
    Stan Russell.

    Avatar: SelinaShine
    SelinaShine
    Participant
    April 9, 2015 at 14:21

    Hi again,

    Got this working, but not quite there yet. With custom css I’ve adjusted the featured image size to be 1170 px. The image I’ve uploaded has this size, but the featured image is enlarged, so it looks blurry. While it shouldn’t be because the original image is 1170px. You can see the difference on this page:
    http://digisteun.nl/?page_id=10
    The image above is the featured image, the image below is inside the texteditor. Both are the same image, below looks perfect, just as it’s suposed to be. I don’t understand why the image above get’s blurry. Any idea’s?

    Avatar: Eva
    Eva Kemp
    Support staff
    April 9, 2015 at 14:35

    Hello,

    I’ve edited the code and changed <?php the_post_thumbnail('large'); ?> to <?php the_post_thumbnail('normal'); ?>.
    Please clear browser cache and check now.

    Regards,
    Eva Kemp.

    Avatar: SelinaShine
    SelinaShine
    Participant
    April 9, 2015 at 14:41

    Thanks so much! It’s working perfectly now! Thanks for all the help!

    There was one other thing I ran into, hopefully you have a solution for that aswell!
    How to get the bodytext in 2 columns next to each other? I’ve tried using the [column size=”one-half”][/column] option, but as you can see on the link below the columns seem to be to large to fit next to each other. Is there any other way I can do this?

    http://digisteun.nl/?page_id=10

    Avatar: Eva
    Eva Kemp
    Support staff
    April 9, 2015 at 15:08

    Hello,

    I’ve edited the page content with Visual Composer editor.
    Please check the page now.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: SelinaShine
    SelinaShine
    Participant
    April 9, 2015 at 15:10

    Thanks again for your wonderfull help! I really apreciate it!
    Now everything is working as it should be, thanks!

    Avatar: Eva
    Eva Kemp
    Support staff
    April 9, 2015 at 15:17

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 19 results - 1 through 19 (of 19 total)

The issue related to '‘Featured image and working with text columns’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.