![]() |
little style fix needed
1 Attachment(s)
What I have done so far
Field: Single-Selection Menu
AdminCP -> Languages & Phrases -> Phrase Manager -> Add New Phrase (Center button on the bottom):
STEP 3; Postbit_Legacy Template Find: Code:
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if> Code:
<!-- My Team in postbit_legacy Start --> |
I believe you mean the custom field there is missing the style. if this is what you are after, then make sure what postbit_legacy class is used for the common fields.
if you provide a link to your site, I may help you with that. if not, then use Chrome inspection element to see what class you need to add to your custom field and add a div to that class i.e: PHP Code:
|
here is a link to a post that has it but its not showing the image in IE so need to remove that but when i do from the code it still shows
http://www.anygivensaturday.com/show...=1#post2005099 I need to remove the image part of this code but when I do it messes up or does not remove it any help from anyone |
Quote:
it is very simple, all you need is to find the template where you can edit this, and usually that is postbit_legacy Then you need to remove the image between <dd></dd> after that, add this to your custom field: Code:
<div class="bppostbit"><dt>My Team:</dt><dd>{vb:raw post.fieldX}</dd></div> and that's it. if there is something else, post it here. :) Good luck |
I tried these
PHP Code:
PHP Code:
|
Quote:
so it is for template result because the title is fixed, not variable like this: <div class="bppostbit"><dt>My Team:</dt><dd>{vb:raw post.fieldX}</dd></div> so basically what you will need to change only X which is field number i.e {vb:raw post.field8} is it clear now? if not, I will try to add screenshot to clarify it deeper :) --------------- Added [DATE]1380110482[/DATE] at [TIME]1380110482[/TIME] --------------- ok, when you go to postbit_legacy, you will find few divs with the same name, i.e: <div class="bppostbit"> These ones where you need to look at and how they are arranged. The custom field you have there is only <dt>My Team</dt><dd><img src="xxxxxxxxxxx/Test 1.gif" alt="Test 1" title="Test 1"></dd> The above code will surly make a mess because it is not wrapped with a div so that's why it is correct to make it like this: <div class="bppostbit"><dt>My Team:</dt><dd>{vb:raw post.field5}</dd></div> I don't think it is a good idea to use profile manager to write such code. there you create only a custom field and use that custom field to place it with the code in postbit_legacy template. if you are still confused, send me your postbit_legacy code template as PM and I will make the modification and send it back to you ASAP. |
PHP Code:
http://www.anygivensaturday.com/show...=1#post2005099 |
Quote:
PHP Code:
|
that helped in firefox but for some reason in IE it still shows its missing a image and I dont want any image
|
Quote:
|
All times are GMT. The time now is 11:32 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|