Can not get image to show on blog page top center

I am using Integrity and I have been trying to get a image posted on top of the blog page under the header
I have a static home page and another page for the blog.

I am using integrity.
I am set properly in settings/reading.
The blog shows up in/on the assigned page and I want an image at the top center above the blog.
I do not know php but can do css.

I can not direct insert the image on the blank blog page as it does not show the text, wdir area of the page when trying to edit it,

The customize area has no (that I could find) provision for doing this in the top area of the chosen blog page.

I have 3 X themes purchased and really need a work-a-round with this issue.
1 is pro.

Cornerstone will not install due to fatal error messages.
The last update killed it.
It got knocked out of the working arena, I can’t use it at all now.

Thanking you ahead,

Jann

Hello Jann,

Thank you for the very detailed post information. The blog index does not have any option for you to add a custom banner or image. This will require a custom code to be able to do so. Because what you are trying to accomplish requires a template customization, we would highly to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released.

After the child theme is set up, please add the following code in your child theme’s functions.php file

// Custom Banner for the blog index
// =============================================================================
function add_custom_banner(){ ?>
  
  <?php if ( is_home() ) : ?>
  <div class="custom-header-container">
    <div class="x-container max width">
      <!-- your custom header codes here -->
      <img src="http://placehold.it/1200x120" alt="My custom header">
    </div>
  </div>
  <?php endif; ?>

<?php }
add_action('x_after_view_global__slider-below', 'add_custom_banner');
// =============================================================================

Please do not forget to replace the image in the code.

When there is a fatal error when you install Cornerstone, the most probable cause could be PHP memory limit exhaustion. ​We recommend that you increase your memory allocated to PHP. To increase it, please edit your wp-config.php file and insert these lines:

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

You can add it before the line
/*That's all, stop editing! Happy Blogging. */

We would loved to know if this has work for you. Thank you.

Good evening,

I am sending you a screenshot to show you I got it to work.
I did not edit the php file, I found the font and installed it that I wanted to use, then just messed with the size until I got it where I wanted it and there it be!

I am not yet ready to install cornerstone yet but will when I have the extra time in case it blows my site out or causes an issue. I am chicken hearted when it comes to ruining my work. I am a make it look good designer not a coder.
I leave the core stuff to gifted people like yourself.

I am struggling with getting a href links to work.
Yes I use the insert link in the editor, and have even tried
hand typing it…neither works.

I have a paid membership site and there is restricted content
setting at play, and am wondering if due to only a default choice for
whom the page gets to be seen by there may be a crossfire.
I have to have people go through two different pages for application processing and being they are internal linked by the a href link to apply for membership it may be restricting the non registered party.
Would this stop the a href link from working so they can apply?
If so, is there a work-around?

I also want to use the accordion menu to host my videos…now that’s a hair puller.
I did it on my Ethos site and it was beautiful…On this one I am using Integrity and not so much fun trying to get it to work.
Seem’s the code is different.

Thank you very much for assisting me.
It is much appreciated.

Blessings,

Jann

Hi Jeanette,

  1. Please consider that our theme will not work correctly if you do not install the Cornerstone plugin. Actually, it is getting installed automatically in our theme. So you just need to go to X > Validation and wait for few seconds and then go to Plugins menu and you will see the Cornerstone plugin auto installed.

  2. I am not sure about the specific membership case you are talking about. I suggest that you contact the plugin developers of that membership feature as they will have a better understanding of the ins and outs of their plugin

  3. You can use the Accordion element of the Cornerstone to achieve the feature you like. Please read this article for more information about the accordion.

You can not add additional elements inside each accordion item and you need to add text. As you want to add videos, I suggest that you add each video as a separate Global Block and then paste the Global Block shortcode as a text of each accordion element item.

For more information about the Global Blocks please read this article.

Kindly open up new threads for additional questions as it will help us to focus on each issue and give you a better support which you deserve. Having a long threads makes the maintaining job harder and also it will be harder for the other customers to find the correct information if they have similar issues. You are always welcomed to reply to this thread to follow up the same question.

Thank you.

Thank you for the direction I need to take.
Cornerstone is not installed in my theme, it refused to install said fatal error…

I applied the extra
define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
define( ‘WP_MAX_MEMORY_LIMIT’, ‘512M’ );
I was given and been working up my courage to try and install again.
I will be back to share results.
Blessings,
Jann

Hi @webbjann,

May I know the details of the fatal error? You can get more information from your site’s error log. And for the meantime, please make sure there is no existing cornerstone folder in /wp-content/plugins/ before installing a new one.

Thanks!

Good day to you.

The folder was removed, I just now attempted to re install.

This is what transpired.

Plugin could not be activated because it triggered a fatal error.

Fatal error: Cannot redeclare cs_generate_data_attributes() (previously declared in /home/legendof/www/mountains.milestones/wp-content/plugins/tco-video-lock/functions/includes/cs/helpers.php:4) in /home/legendof/www/mountains.milestones/wp-content/plugins/cornerstone/includes/utility/helpers.php on line 169

I can not do php I have no education on it.
Any suggestions about what to do from here now?

Thank you for assisting me.

Jann

Hi There,

Would you mind providing us with login credentials(by clicking on the Secure Note button at the bottom) so we can take a closer look? To do this, you can make a post with the following info:

  • Link to your site
  • WordPress Admin username / password
  • FTP credentials

Thanks.

Hello There,

  • I have deactivated Video Lock and activated Cornerstone. I reactivated Video Lock plugin again and you are all set. You can now start building your pages using Cornerstone.

  • I also noticed that there was a slug conflict in the site. Your blog index or Posts Page is using news-talk as the page slug and at the same time, there is a post “News Talk” that is also using the same slug. I edited your post and made sure that the post slug is news-talk-post to avoid any conflict.

  • I also tested adding a link to your post and it is now working.
    http://prntscr.com/jndjbk, https://prnt.sc/jndi0q

Please keep in mind that the link will only work in the single blog post. It will not display in your blog index or Posts page because a link or any html codes and shortcodes will be removed in the post excerpts. The blog index only displays the excerpts and not the full posts.

Please check your site now.

You did a wonderful job, many thank you’s.

I hold no claim to being a coder…I am at best a novice.
I love making things a full course meal of eye candy.

My a href issue is with in the message box on the pages
to (trying to) give visitors access to the application to
join page but it flips just to a 404 page.

This is I suspect due to the restricted content setting
that may be default to the entire site.
I sent a message to the plugin author asking about this.
I will know more when a reply comes in.

I have no clue what video lock does so no loss to me there.
Again, thank you so much for the most generous help solving my
issues.

Slainte’,

Jann

Hi @webbjann,

Feel free to ask us again.

Let us know how it goes.

Thanks.

I spaced asking you how you got the background to show.
I gave up trying.

Also I am sending a screenshot of the background as there is 2 lines viable running horizontally
across it…it is not on the photo so it must be somewhere in the code.
the background is tiled and ck’n it in my editor there are no lines.
They are thin lines but still viable

If anyone knows I am sure you do.

Blessings,

Jann.

typo still visible

Hi,

To remove the lines, you can add the code below in Theme Options > CSS

.x-breadcrumb-wrap {
    border-bottom: 0;
}

.h-landmark span:before, .h-landmark span:after {
    display:none;
}

Hope that helps

Thank you so much, I will let you know.

Silante’,

Jann

You’re welcome! :slight_smile:

Success!!!
Thank you again for your skill and
willingness to help.

I need to open another issue in another ticket…this one has gotten a tad long.

Blessings,

Jann

Yeah sure, we are delighted to assist you on this.

Cheers!

Hello RueNel – I would like to do the same thing and use the code you posted to add a custom banner image to the top of my blog index page.

One question: is there a way to limit its appearance to a single category? I’m using two different categories to create the appearance of two different blogs on my site, as described here: https://bobwp.com/how-to-easily-add-two-blogs-to-a-single-wordpress-site/

Thanks for any help you can give.

(Additionally, I can’t seem to update the functions.php file. I keep getting this error message inside WP: Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.)