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.

Signature Coding Issues

Page 2 of 2 Previous  1, 2

View previous topic View next topic Go down

Signature Coding Issues

Post by KemicalCandy on July 18th 2017, 6:43 pm

First topic message reminder :

Forum: websoup.forumotion.com
Version: phpbb2
Permission Level: Founder


I posted about this issue once already, and after very little progress, I got no response back and it was moved to the garbage. Anyway, I have this code here in order to align/wrap images and text next to each other on my forum:

Code:
 
div[align="left"] {
    float: left;
}
 
div[align="right"] {
    float: right;
}

This code works, to an extent. Putting it in my CSS finally allows me to align/wrap images and text on the same line in my signature, but when I'm typing out a forum post and click the "preview" button, my signature runs up into my actual forum post (probably thinking it should align/wrap itself with that). It does not do this on the forum itself or on actual posts -- only when I am previewing posts before I actually post them. How do I force my signature to stay below my previewed forum posts? Does this require editing something in the html pages?
avatar
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down


Re: Signature Coding Issues

Post by KemicalCandy on August 11th 2017, 10:47 pm

That's what I meant.
avatar
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Re: Signature Coding Issues

Post by Kami-sama on August 12th 2017, 1:05 pm

Code:

.signature_div div[align="left"], .postbodyinside div[align="left"] {
    float: left;
}
 
.signature_div div[align="right"], .postbodyinside div[align="right"]{
    float: right;
}

Try this Wink Basically:
you tell where to apply the code (.signature_div) and specify to WHAT the code should be applied (div[align="left"]) - div element with left alignment.

EDIT: I do see you don't have the "postbodyinside" element.
You can add it in: Admin console - Display - Templates - General/main (the first option in list) - viewtopic_body template.

At around 183 line you will have something like this:
Code:
<!-- END switch_vote_active -->

                  <div class="postbody">

                     <div>{postrow.displayed.MESSAGE}</div>

Replace div to:
Code:
<div class="postbodyinside">{postrow.displayed.MESSAGE}</div>
avatar
Kami-sama
Forumember

Female Posts : 328
Reputation : 8
Language : English, Russian, German, Lithuanian
Location : Lithuania

http://hogas.huhohi.com/

Back to top Go down

Re: Signature Coding Issues

Post by KemicalCandy on August 12th 2017, 10:32 pm

I followed exactly what you said, but for some reason it ended up making the text in all my forum posts huge. Not sure why these codes you gave me altered my forum post text size, do you?
avatar
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Re: Signature Coding Issues

Post by SLGray on August 13th 2017, 4:23 am

Make sure that you did not by accident change some codes that were already there.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 41100
Reputation : 2803
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Re: Signature Coding Issues

Post by KemicalCandy on August 13th 2017, 4:31 am

I can confirm that I did not.
avatar
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Re: Signature Coding Issues

Post by SLGray on August 13th 2017, 4:38 am

Did you deleted the code you had already?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 41100
Reputation : 2803
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Re: Signature Coding Issues

Post by KemicalCandy on August 13th 2017, 9:11 pm

Yes, I went ahead and removed it since it messed up my forum posts default text size.
avatar
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Re: Signature Coding Issues

Post by KemicalCandy on August 15th 2017, 11:33 pm

bump
avatar
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Re: Signature Coding Issues

Post by KemicalCandy on August 19th 2017, 4:38 am

bump
avatar
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Re: Signature Coding Issues

Post by KemicalCandy on August 21st 2017, 4:52 am

bump
avatar
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Re: Signature Coding Issues

Post by KemicalCandy on August 28th 2017, 4:33 am

bump
avatar
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Re: Signature Coding Issues

Post by KemicalCandy on September 4th 2017, 4:10 am

bump
avatar
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Page 2 of 2 Previous  1, 2

View previous topic View next topic Back to top


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