-
-
Hello! I would like to remove the “project description” and “project details” from all the portfolio pages – is there a way to do this in the settings?
Thank you!
Mirela
-
Hello,
You can do this in two ways:
-By editing theme files. Not recommended as it would prevent you from taking future important theme updates.
-With custom css. Recommended, as the code is added in General Options > Custom css box. It will be saved in the database and it’s independent from any theme update.
Add this code:.portfolio_single h4 { display: none;} .portfolio_single .row-fluid .span9 { width: 100% !important;}
Result screenshot: https://pho.to/AWpzB
Let us know.Best regards!
- This reply was modified 7 years, 4 months ago by Mirela.
-
Thank you! I did it with custom css and it works.
Thanks for your help!
-
One more question: I have been trying to remove the dropdown menu from the “genealogy services” but I didn’t manage. Is there a way to do it in the settings?
Thank you so much.
-
Hello,
Please go to your Appearance > Menus. Select the main menu and click on the menu item. In the drop down you will see the “remove” option in red(screenshot). Click it to remove the unwanted item. Save changes.
Best regards!
-
Hello!
I am having the same issue and trying to remove Project Description and Project Details from the Portfolio interface. How do I do this? The forum below did not help when pasting the code above into the custom CSS box.
Thank you in advance!
-
Hello,
Please try to add this line in the end of style.css file of the child theme:
.portfolio_single h4 {display:none;}
Keep in mind this custom css will work only for Tower WordPress Theme.
Let us know.
Regards!
-
Great, that worked.
Now, how do you remove the magnifying glass and link icon and just have the image link to the new page. I do not want the option for an image to be enlarged, just click through to the page. This is all under Portfolio.
Thank you!
-
Hello,
If you want to remove the the two icons from the portfolio page you have to edit the portfolio page style;
Check the documentation: https://codeless.co/tower/documentation/main.html#portfolio_page
You have to set the Portfolio Style : Overlay with base color and effect
Also to add a custom link you have to edit the Portfolio Items and on the Page Styles: Switch on the “Overwrite the link with your custom link” option and write down your link.
In case you want to maintain the basic style and remove the two icons you have to add this css code:
.portfolio-item.basic .bg { display:none }
To link the image you and not only the title on the basic style you have to edit the file themes\tower\includes\view\portfolio\loop-grid.php.
Find the lines below:
if($style == 'basic'){ ?> <div class="portfolio-item mix <?php echo esc_attr($sort_classes) ?> <?php echo esc_attr($extra_class) ?> <?php echo esc_attr($style) ?>" data-id="<?php echo get_the_ID() ?>"> <div class="he-wrap tpl2"> <?php if($columns == 5) $columns = 4; ?> <img src="<?php echo esc_url(codeless_image_by_id(get_post_thumbnail_id(), 'port'.$columns, 'url')) ?>" alt="">
and replace with:
if($style == 'basic'){ ?> <div class="portfolio-item mix <?php echo esc_attr($sort_classes) ?> <?php echo esc_attr($extra_class) ?> <?php echo esc_attr($style) ?>" data-id="<?php echo get_the_ID() ?>"> <div class="he-wrap tpl2"> <?php if($columns == 5) $columns = 4; ?> <a href="<?php echo $link ?>"><img src="<?php echo esc_url(codeless_image_by_id(get_post_thumbnail_id(), 'port'.$columns, 'url')) ?>" alt=""></a>
Save the file and everything will be ok.
Best Regards!
-
You must be logged in to reply to this topic.