The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Signature Coding Issues

5 posters

Page 2 of 2 Previous  1, 2

Go down

Signature Coding Issues - Page 2 Empty Signature Coding Issues

Post by KemicalCandy 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?
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down


Signature Coding Issues - Page 2 Empty Re: Signature Coding Issues

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

That's what I meant.
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Signature Coding Issues - Page 2 Empty Re: Signature Coding Issues

Post by Kami-sama 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>
Kami-sama
Kami-sama
Forumember

Female Posts : 407
Reputation : 12
Language : EN, RU, DE, LT
Location : Lithuania

http://hogas.huhohi.com/

Back to top Go down

Signature Coding Issues - Page 2 Empty Re: Signature Coding Issues

Post by KemicalCandy 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?
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Signature Coding Issues - Page 2 Empty Re: Signature Coding Issues

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

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


Signature Coding Issues - Page 2 Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Signature Coding Issues - Page 2 Empty Re: Signature Coding Issues

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

I can confirm that I did not.
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Signature Coding Issues - Page 2 Empty Re: Signature Coding Issues

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

Did you deleted the code you had already?


Signature Coding Issues - Page 2 Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Signature Coding Issues - Page 2 Empty Re: Signature Coding Issues

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

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

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Signature Coding Issues - Page 2 Empty Re: Signature Coding Issues

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

bump
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Signature Coding Issues - Page 2 Empty Re: Signature Coding Issues

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

bump
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Signature Coding Issues - Page 2 Empty Re: Signature Coding Issues

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

bump
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Signature Coding Issues - Page 2 Empty Re: Signature Coding Issues

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

bump
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Signature Coding Issues - Page 2 Empty Re: Signature Coding Issues

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

bump
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

Page 2 of 2 Previous  1, 2

Back to top

- Similar topics

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