Support Forum

is the fancy callout arrow next to your avatar…

41 Answers

New Answer

BR Brandon
Brandon
Member

Sure there is a way. wink

Before doing anything though.  Do you have the new Post Preview plugin installed and activated?

If so can you deactivate it and look at the forum topics page and see if that ‘red line’ still is too short or any other layout issues looks different?

RG Robb G
Robb G
Member

Yes. I have it installed. I deactivated it. Nothing seems different…

RG Robb G
Robb G
Member

Or better yet, if I can just lower the arrow below the red line, that would be perfect. Do I do that in the CSS? I tried manipulating the top and right pixels in #spMainContainer .spAuthorArrow , but no noticeable change in the arrow occurs. Am I missing something?

BR Brandon
Brandon
Member

We first need to figure out why the top red line does not go all the way across.  If you notice not only isn’t it all the way across the content under it isn’t either.

One more test, if you would, so I can see if there may a larger issue that needs to be checked.

Go into your Forum Admin >Options – Content Settings and turn off “Use text wrap width for posts”

Save, log out of WP, clear your browsers cache and then look at the forum post’s red line and content and let us know if full width.

RG Robb G
Robb G
Member

Ok, I did what you asked. Yes, it does make the red line go all the way across now! The only thing now is to make the line and arrow not be on the same height to each other…

BR Brandon
Brandon
Member

God deal.

I would probably move the line up and not move the arrow.

That could be done by changing the margin entry here:
#spMainContainer .spTopicPostSection .spPostSection .spPostContentSection .spPostContent

Change margin: 5px 0; to margin: -10px 0;

RG Robb G
Robb G
Member

Thank you! The project is now complete! It looks great. I love the support us users get from you guys. Top notch work as always.

BR Brandon
Brandon
Member

Robb G said
Thank you! The project is now complete! It looks great. I love the support us users get from you guys. Top notch work as always.

Good deal, looks good. Glad you got it all set the way you wanted it.

GR gringojason
gringojason
Member

Brandon C said

Once created we added it to our theme’s /images folder and echo’d it out from our spTopicView.php file.

sp_SectionStart('tagClass=spPostContentSection', 'content');
echo '<img alt="" class="spAuthorArrow" src="'.SPTHEMEICONSURL.'thread-arrow-author.gif">';                                 
sp_PostIndexContent('', 'Awaiting Moderation')

Brandon, where exactly do you put the PHP snippet in the sptopicview.php? Can you give me a specific location in the file? I think/problem-with-post-edit-buttonope I’ll be able to take it from there with the CSS and your detailed explanation. Thanks…

BR Brandon
Brandon
Member

The part that shows the arrow is line #2 in your quote. Starts with echo.

It goes, as shown, in between the sp_SectionsStart and sp_PostIndexContent – Awaiting Moderation lines.

GR gringojason
gringojason
Member

Ok, now I just feel dumb. LOL. Should have seen that. I assumed I was supposed to put the whole snippet in. Thanks…

GR gringojason
gringojason
Member

Beautiful. All done. Looks great…

http://livefitrevolution.org/?page_id=190279

Thanks for the walk-through and help!! 

JI jim
jim
Member

Nice tweak! Thank you for these detailed instructions.

Any suggestions for showing a different image for the author arrow on even and odd posts? I don’t see anything in the template file that declares even or odd posts and we alternate the post background colors so a different colored arrow is needed.

Thanks again.

EDIT: OK, I see now that you’re using a different background color and arrow image for the current user so I know it’s possible! Just not sure how to edit the template file.