The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

No space in header of posts (after using hide side panel widget)

View previous topic View next topic Go down

Solved No space in header of posts (after using hide side panel widget)

Post by adukes_007 on September 18th 2014, 1:44 am



There is no space between "by" and author name in the screenshot. This only happens when I use the hide sidepanel widget. It pushes the authors name back when viewed in chrome. Any help?


Last edited by adukes_007 on September 18th 2014, 8:38 am; edited 1 time in total

adukes_007
Forumember

Male Posts : 229
Reputation : 1
Language : English
Location : Alabama- Forrest Gump Land

http://www.turbohkforums.com

Back to top Go down

Solved Re: No space in header of posts (after using hide side panel widget)

Post by Ange Tuteur on September 18th 2014, 4:56 am

Hello adukes,

As far as I know that shouldn't even happen. I mean those words don't even have unique tags that wrap them; it's just white space.

The only solution I can really come up with is this :
Administration Panel > Display > Templates > General > viewtopic_body

Find :
Code:
<p class="author"><img src="{postrow.displayed.MINI_POST_IMG}" alt="{postrow.displayed.L_MINI_POST_ALT}" title="{postrow.displayed.L_MINI_POST_ALT}" />&nbsp;{L_TOPIC_BY}&nbsp;{postrow.displayed.POSTER_NAME} {postrow.displayed.POST_DATE_NEW}</p>

Replace by :
Code:
<p class="author"><img src="{postrow.displayed.MINI_POST_IMG}" alt="{postrow.displayed.L_MINI_POST_ALT}" title="{postrow.displayed.L_MINI_POST_ALT}" /><span style="margin:0 3px">{L_TOPIC_BY}</span>{postrow.displayed.POSTER_NAME} {postrow.displayed.POST_DATE_NEW}</p>

Save and publish.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: No space in header of posts (after using hide side panel widget)

Post by adukes_007 on September 18th 2014, 8:04 am

I will look into the code you gave me. I took the widget off and it still wraps it strange when I flip my tablet from portrait to landscape. Chrome only seems to do this. I can refresh the screen after flipping the device and the refresh fixes it. At least I know where to start now.

adukes_007
Forumember

Male Posts : 229
Reputation : 1
Language : English
Location : Alabama- Forrest Gump Land

http://www.turbohkforums.com

Back to top Go down

Solved Re: No space in header of posts (after using hide side panel widget)

Post by adukes_007 on September 18th 2014, 8:37 am

Since I didn't need the user name in that location...I got rid of the following

Code:
{L_TOPIC_BY}&nbsp;{postrow.displayed.POSTER_NAME}

Now I'm no longer having spacing issues plus I got rid of redundant info since the user name was already in the post twice.

Anthony

adukes_007
Forumember

Male Posts : 229
Reputation : 1
Language : English
Location : Alabama- Forrest Gump Land

http://www.turbohkforums.com

Back to top Go down

Solved Re: No space in header of posts (after using hide side panel widget)

Post by Ange Tuteur on September 18th 2014, 8:42 am

Glad you found a solution.

Topic archived

Have a great day. Smile

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum