How to remove the URL field in the comments field?

Hi there,

Would you mind providing your admin and FTP login credentials. I don’t see that code being implemented at least on your page’s source code.

About that image, let’s do these

  1. Please use proper close elements, example, in your custom headlines you use <strong> twice instead of closing it. Example,

<strong>Smart solutions for<br />smarter business<strong>

And it should be like this

<strong>Smart solutions for<br />smarter business</strong>

This creates extra elements when the browser tries to fix the rendering.

  1. Please add mbn to your image’s class. I don’t see any mbn added to that area when I viewed your page’s source code.

  2. Please inspect your column’s where your image is, the same way you inspect the sections and rows. If you have issues inspecting the columns, then just click the section(don’t inspect, just click it), then click the column that you wish to inspect. Once you’re there, add this to your column’s Style input vertical-align: bottom;.

That should do it :slight_smile:

Thanks.

Okay! This fixed the issue. Thanks.

  1. Now, the portfolio link issue is pending. I am attaching my credentials in the secure note.
  2. I have seen a new issue. On some featured images, I see a red/orange line at the bottom of the image. Please see attached.
  3. Is there a way to show excerpts on the post element in the cornerstone builder? I am currently using Cornerstone Addons but that slows the site by 30-40%. I want a fast website and also, the excerpts will help my homepage be keyword rich for SEO.
    Thanks. I have reviewed the theme. https://themeforest.net/ratings/2688698.

Hi there,

The issue is that the portfolio functions aren’t possible to overload. So let’s do it this way,

1 Add this code to your child theme’s functions.php

function x_portfolio_item_project_link_v2() {

$project_link = get_post_meta( get_the_ID(), 'xportfolio_project_link', true );
$launch_title = x_get_option( 'x_portfolio_launch_project_title' );
$launch_button = x_get_option( 'x_portfolio_launch_project_button_text' );

if ( $project_link ) :

?>

<h2 class="h-extra launch"><?php echo $launch_title; ?></h2>
<a rel="nofollow" href="<?php echo $project_link; ?>" title="<?php echo $launch_button; ?>" class="x-btn x-btn-block" target="blank"><?php echo $launchbutton; ?></a>

<?php

endif;

}

2 Then from @paul.r’s first instruction about content-portfolio.php, change this line

<?php x_portfolio_item_project_link(); ?>

to this

<?php x_portfolio_item_project_link_v2(); ?>

About the orange line, please add this CSS to your global custom CSS with your preferred color

.entry-thumb {
background-color: #000000;
}

About the excerpt, it’s not possible. But you may use Essential Grid and its skin builder to create your own layout with the excerpt.

Thanks!

This is done. But then the button on the portfolio page disappears.

Hi,

You need to change that line of code in wp-content/themes/x-child/framework/views/renew/content-portfolio.php

I would like to check but the FTP login no longer works.

Do you mind activating it again.

Thanks

I had not changed the FTP details. I tried logging and I couldn’t too. I have installed a plugin for managing files. Can you please make changes using that? Also, I had made changes to the exact file “wp-content/themes/x-child/framework/views/renew/content-portfolio.php”. I have some of of my own customizations as well in the file, so please be careful while editing it. Thanks.

Hi @faizan,

I get “authentication failed” when trying to connect over FTP. We will need FTP details to do anything file based. File manager plugins aren’t safe because if a PHP error is introduced it could prevent the site from loading. Because FTP is direct access, we don’t have to worry about that happening.

Please check secure notes for new FTP details.

Hi,

There is a typo in the code.

I was able to fix it by changing the code in your functions.php file with this.

function x_portfolio_item_project_link_v2() {

 $project_link  = get_post_meta( get_the_ID(), '_x_portfolio_project_link', true );
  $launch_title  = x_get_option( 'x_portfolio_launch_project_title' );
  $launch_button = x_get_option( 'x_portfolio_launch_project_button_text' );

  if ( $project_link ) :

  ?>

  <h2 class="h-extra launch"><?php echo $launch_title; ?></h2>
  <a rel="nofollow" href="<?php echo $project_link; ?>" title="<?php echo $launch_button; ?>" class="x-btn x-btn-block" target="_blank"><?php echo $launch_button; ?></a>

  <?php

  endif;

}

Kindly check in your end.

Thanks!
I would like to is there anything to take care of before updating the theme?

Hi there,

There is no need for further changes since it’s already added in your child theme. Updates will not overwrite it, but, if the future updates contain code changes where the above code is derived, then you’ll have to update the above code as well (manually editing the code).

Custom will and may only work as provided, there is no guarantee that it will forever work in the future.

Thanks.

Okay.
Can you please tell how can I make the CTA in menu full width for hamburger menu? Thanks.

Also, I need to remove the black line on hover for the CTA specifically. And also the container on mobile devices.


Also The sub menu of “services” does not seem to work at times. The drop down button/hover i mean.
Thanks

Hi,

You can add this in Custom CSS

.x-navbar .desktop .x-nav > li.menu-item-2272 > a:hover > span {
    box-shadow:none;
}

.x-navbar .x-nav>li.menu-item-has-children:hover .sub-menu {
   display:block !important;
}

Hope that helps.

sub menu of “services” does not seem to work at times. The drop down button/hover i mean.
Also, how to make the cta full width on hambuerger menu?

Hi there,

I have checked and there are some Javascript errors that might be causing the issue in the submenu items. You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

To make the CTA fullwidth in the mobile menu, please try this code:

@media (max-width: 797px) {
    .ctamain a {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

Hope this helps.

  1. Okay. That issue solved. New issue arrived. I have used javascript to make header sticky. However it’s not the best solution to do so as there are css fixes as well. Can you please give me those snippet to make the header sticky? JS will affect speed.

  2. New is attached in secure note. This happens when we scroll the ‘services’ menu once and undo it again.

Hi there,

  1. You can remove your javascript and just add this CSS
@media ( max-width: 979px ) {
.x-navbar {
position: fixed;
top: 0;
width: 100%;
}
}
  1. Please change this CSS
.x-navbar .x-nav>li.menu-item-has-children:hover .sub-menu {
   display:block !important;
}

to this

.x-navbar .x-nav>li.menu-item-has-children.x-active:hover .sub-menu {
   display:block !important;
}

Hope this helps.

I did this. Now the content on some pages overlaps, like a blog post, home page, contact page etc.

Hi there,

Unfortunately, this thread is getting too long and lost its first purpose of adding the thread. I could not find the correct link you are talking about and the actual problem which you are experiencing.

Kindly open up a new thread with detailed information regarding the problem with URL and screenshots and we will be more than happy to help you around.

Thank you for your understanding.