-
-
Hi,
The problem that we’re having is two fold.
Each individual Portfolio item is having the feature image cover up the page title. Is there a way to fix this?
Also, the individual portfolio pages has a column set for project details. Is there a way to remove that wording, or even that whole column so the page is full width?
Thanks in advance!
Karl
-
The link to the site is https://electromechanica.com/
-
Hello,
The header height is only 10px. this is why is showing like this. Please check the values you have set for the header height. Increase it first (example: 120px). Then add this code into your custom css box:
.single-portfolio .header_page h1 { line-height: 120px; }
Result screenshot. Let us know.
Best regards!
-
Hi,
When I looked at the header height in the Tower settings, I saw it was set to 100px, not 10 (see example 1 below).
I increased it to 120, to 300 and all it did was widen the gap between the logo /nav area and the info below the page.
I put the portfolio code in as you asked, but nothing changed. I did get an error in the code, which you can see in example 2 below. Nothing changed here, either.
Maybe we should just eliminate the page headings in the portfolio. Is there a way to do that?
Lastly, how does one get rid of the project details column on a portfolio page, or at least where the text isn’t showing? It isn’t needed for our application. It looks like we did not complete the project.
Thanks in advance!
Karl
-
Hello,
1. For the portfolio header, please try this code :
.single-portfolio .header_page, .header_page{ height: 120px; }
Add it on your custom CSS box.
If you want to remove the header, edit the portfolio entry and deactivate page header on Page Header Options.
2. To remove the project details area and to display a fullwidth project description area, go to your theme files–> includes/view/portfolio/single-fullwidth.php. Find these lines:<div class="container"> <div class="row-fluid content"> <div class="span9"> <h4><?php _e('Project Description', 'codeless') ?></h4> <?php the_content(); ?> </div> <div class="span3"> <h4><?php _e('Project Details', 'codeless') ?></h4> <ul class="info"> <?php if(!empty($cl_redata['single_portfolio_custom_params']) ): for($i = 0; $i < count($cl_redata['single_portfolio_custom_params']); $i++): ?> <?php if(isset($cl_redata['single_portfolio_custom_fields'][$i]) && !empty($cl_redata['single_portfolio_custom_fields'][$i]) ): ?> <li><span class="title"><?php echo esc_attr($cl_redata['single_portfolio_custom_params'][$i]) ?></span><span><?php echo esc_attr($cl_redata['single_portfolio_custom_fields'][$i]) ?></span></li> <?php endif; ?> <?php endfor; endif; ?> <?php if($cl_redata['portfolio_post_like']): ?> <li class="post-like"><?php echo getPostLikeLink( get_the_ID() ); ?></li> <?php endif; ?> </ul> </div> </div>
and replace with these:
<div class="container"> <div class="row-fluid content"> <div class="span12"> <h4><?php _e('Project Description', 'codeless') ?></h4> <?php the_content(); ?> </div> <!--<div class="span3"> <h4><?php _e('Project Details', 'codeless') ?></h4> <ul class="info"> <?php if(!empty($cl_redata['single_portfolio_custom_params']) ): for($i = 0; $i < count($cl_redata['single_portfolio_custom_params']); $i++): ?> <?php if(isset($cl_redata['single_portfolio_custom_fields'][$i]) && !empty($cl_redata['single_portfolio_custom_fields'][$i]) ): ?> <li><span class="title"><?php echo esc_attr($cl_redata['single_portfolio_custom_params'][$i]) ?></span><span><?php echo esc_attr($cl_redata['single_portfolio_custom_fields'][$i]) ?></span></li> <?php endif; ?> <?php endfor; endif; ?> <?php if($cl_redata['portfolio_post_like']): ?> <li class="post-like"><?php echo getPostLikeLink( get_the_ID() ); ?></li> <?php endif; ?> </ul> </div>--> </div>
Let us know.
Best regards! -
Thank you VERY much! I really appreciate your help. Everything worked perfectly after your clear cut instructions!
Thanks again!
Karl
-
You must be logged in to reply to this topic.