-
-
Hi there,
Creative Agency Demo:
I have a few issues with my team content :
1) I added some text for the team members, but the text is being cut off, because it is longer than shown in the demo. How can I change that?
2) My 3 team members are presented bigger than in the demo, how can I fix it so that it looks like in the demo?
Thx!
Hannah
- This topic was modified 6 years, 11 months ago by Hannah83.
-
Hello,
1-Please go to file vc_templates/staff.php and find this line:
$output .= '<p>'.codeless_text_limit(get_the_excerpt(), 25).'</p>';
The value 25 is the number of words that will display. Increase it to your wish. Example:
$output .= '<p>'.codeless_text_limit(get_the_excerpt(), 255).'</p>';
Save changes.2-Can i please see a link of the page you have the team? So i can understand better the situation.
Let us know.Best regards!
-
Sorry, but I dont know where to put that code. Is there any way of putting that into the custom css style?
-
Hello,
You do not have to put it anywhere. You have to find the file staff.php. Using a ftp account, go to the wordpress folder and follow this path: wp-content/themes/tower/vc_templates/staff.php
Screenshot: https://postimg.org/image/umsikpnzp/Open this file in a text editor and find the line above. Change the value as described.
Let us know if you need further guidance.Best regards!
-
Hi, sorry, it doesn’t work properly. I can see a little bit more text now, but still not everything, although I tiped 1000 into it. Any ideas?
-
Hello,
Please send us some valid wp credentials in a private reply. So we can check this and edit it for you.
Let us know.Best regards!
-
-
Hello,
The excerpt was being pulled out instead of the content. That is why even if you increase the number of words to show, there was still little text being displayed. I changed that in the same file vc_templates/staff.php. I edited this line:
$output .= '<p>'.codeless_text_limit(get_the_excerpt(), 2000).'</p>';
to this:
$output .= '<p>'.codeless_text_limit(get_the_content(), 2000).'</p>';
Then i added this custom css into your General Options > Custom Css box:
.page-id-100 .tpl2 img { width: auto !important; } .page-id-100 .overlay.he-view { width: 78% !important; }
To style the xing button and team photo size. Please check your site and let me know.
Best regards!
-
-
You must be logged in to reply to this topic.