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.

Questions about Coding

4 posters

Go down

Solved Questions about Coding

Post by Joost August 12th 2017, 7:06 pm

Hello,

I have various coding questions.

1) How can i center the topic subject name / user post date and time ? (Screenshot) (solved)

2) How can i center the multi-quote , quote , edit , delete , ip and report buttons to the middle ? Smile (Screenshot) (solved)

3) How can i give the line with the username box a
Code:
<br>
code? Smile (Screenshot)
(solved)

4) The online/offline button must be to the left and the username box with date and time to the right. How do I do that? Smile (Screenshot)

5) I use this javascript for a white color on the editor, as i add text in the editor and click on the Switch Editor Mode than have i black letters.. Confused (Screenshot) (Solved)

Code:
$(function() {
  $(function() {
    $(".sceditor-container iframe")
      .contents()
      .find("head")
      .append(
        "<style>body,html,code:before,p,table{color:#FFFFFF!important;}</style>"
      );
  });
});

My testing forum is private, users only. Laughing
I can give you a Pb with my testing account and by Pb the viewtopic_body template. Smile

Thank your for your time and help.

Regards, Joost


Last edited by Joost on August 22nd 2017, 6:19 pm; edited 4 times in total
Joost
Joost
Active Poster

Male Posts : 1343
Reputation : 186
Language : Dutch, English
Location : The Netherlands

https://ondersteun.actieforum.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Guest August 12th 2017, 7:20 pm

That's a lot of questions Razz The forum is the same as the one you PM'ed me earlier, right?
avatar
Guest
Guest


Back to top Go down

Solved Re: Questions about Coding

Post by Joost August 12th 2017, 7:33 pm

Justice™️ wrote:That's a lot of questions Razz The forum is the same as the one you PM'ed me earlier, right?

Hello Justice ,

Thats correct!
I have not change the password from my testing account, you can login on my testing forum as you will.

Thanks! Very Happy
Joost
Joost
Active Poster

Male Posts : 1343
Reputation : 186
Language : Dutch, English
Location : The Netherlands

https://ondersteun.actieforum.com/

Back to top Go down

Solved Re: Questions about Coding

Post by SLGray August 12th 2017, 7:37 pm

Please change the title of your topic to something that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.
Please read our forum rules:  ESF General Rules


Questions about Coding 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

Solved Re: Questions about Coding

Post by Joost August 12th 2017, 7:49 pm

@SLGray , I'm sorry for my topic title. In what can i change the topic title? Smile
Joost
Joost
Active Poster

Male Posts : 1343
Reputation : 186
Language : Dutch, English
Location : The Netherlands

https://ondersteun.actieforum.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion August 13th 2017, 4:15 am

Maybe... "Questions about JavaScript" or "Questions about Coding", or something that relates to the questions in general. Just to give a few ideas.
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Joost August 13th 2017, 9:40 am

I have change my topic title.
Joost
Joost
Active Poster

Male Posts : 1343
Reputation : 186
Language : Dutch, English
Location : The Netherlands

https://ondersteun.actieforum.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Joost August 15th 2017, 5:43 pm

*Bumpt topic*
Who can help me with my questions ? Thank you for your time and help
Joost
Joost
Active Poster

Male Posts : 1343
Reputation : 186
Language : Dutch, English
Location : The Netherlands

https://ondersteun.actieforum.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Guest August 15th 2017, 7:01 pm

1.Add this CSS:
Code:
p.author{
margin:0px !important;
}
2.Add this CSS:
Code:
div.inner [float="left"]{
float:none !important
}
ul.profile-icons{
display:flex;
justify-content:center
}
3.I'm not sure if I got this right:you want to add a space between the box saying Webmaster and the thing under it?
4.You want the online thing to be where the username and date are? And the username and data above the avatar?
5.Add this CSS;
Code:
.sceditor-container>textarea{
color:#f2f2f2 !important;
}
avatar
Guest
Guest


Back to top Go down

Solved Re: Questions about Coding

Post by Joost August 17th 2017, 4:30 pm

Justice™ wrote:1.Add this CSS:
Code:
p.author{
margin:0px !important;
}
2.Add this CSS:
Code:
div.inner [float="left"]{
float:none !important
}
ul.profile-icons{
display:flex;
justify-content:center
}
3.I'm not sure if I got this right:you want to add a space between the box saying Webmaster and the thing under it?
4.You want the online thing to be where the username and date are? And the username and data above the avatar?
5.Add this CSS;
Code:
.sceditor-container>textarea{
color:#f2f2f2 !important;
}

1) Solved

2) Not solved, css code not working.

Code:
div.inner [float="left"]{
float:none !important
}
ul.profile-icons{
display:flex;
justify-content:center
}

3) Correct

4) Correct

5) Solved
Joost
Joost
Active Poster

Male Posts : 1343
Reputation : 186
Language : Dutch, English
Location : The Netherlands

https://ondersteun.actieforum.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Guest August 17th 2017, 9:36 pm

2.Use this CSS:
Code:
[style*="float:left"]{
float:none !important
}
ul.profile-icons{
display:flex;
justify-content:center
}
3.Add this CSS:
Code:
#profile-advanced-right>.module>.inner>.h3>span{
position:relative;
bottom:2px;
}
You can modify 2px to any other value.
avatar
Guest
Guest


Back to top Go down

Solved Re: Questions about Coding

Post by Joost August 18th 2017, 5:19 pm

Thanks, only question 4 is not solved.
Joost
Joost
Active Poster

Male Posts : 1343
Reputation : 186
Language : Dutch, English
Location : The Netherlands

https://ondersteun.actieforum.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion August 18th 2017, 5:33 pm

As for question 4, you want to simply move the online/offline bar to the left side of the avatar and move that other stuff to the right side of what?

Also, I will need to the forum's URL.
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Guest August 18th 2017, 5:57 pm

@Draxion, this is the link:http://beta-hpmagicworld.actieforum.com/

I'll look into this one tomorrow(of course if someone else doesn't solve it till then).
avatar
Guest
Guest


Back to top Go down

Solved Re: Questions about Coding

Post by Draxion August 18th 2017, 6:02 pm

Thank you, @Justice™. However, that site requires a login. If you already have that information since you've been assisting, I'll leave it to you. ;P
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Joost August 19th 2017, 9:23 am

@Draxion , i have send you a pb with a test account.
Joost
Joost
Active Poster

Male Posts : 1343
Reputation : 186
Language : Dutch, English
Location : The Netherlands

https://ondersteun.actieforum.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion August 19th 2017, 7:23 pm

@Joost, are you sure you didn't solve the 4th question yet? I see you moved the online/offline to the left and the other stuff to the right.
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Joost August 20th 2017, 10:12 am

Draxion wrote:@Joost, are you sure you didn't solve the 4th question yet? I see you moved the online/offline to the left and the other stuff to the right.

Hello,

No this not solved. I have send a Pb to my test account than can you see the problem. Smile
Screenshot what i have send.

Questions about Coding Scr17
Joost
Joost
Active Poster

Male Posts : 1343
Reputation : 186
Language : Dutch, English
Location : The Netherlands

https://ondersteun.actieforum.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion August 20th 2017, 2:32 pm

Sorry, but when I checked when you gave me access, the online/offline was moved to the left side of the avatar and the other stuff was moved to the right. Maybe it's cause of screen sizes I wonder?
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Joost August 20th 2017, 2:38 pm

It's no screen sizes. The online/offline must be moved to the left, and the other must be something to the right. Very Happy
Joost
Joost
Active Poster

Male Posts : 1343
Reputation : 186
Language : Dutch, English
Location : The Netherlands

https://ondersteun.actieforum.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion August 20th 2017, 2:40 pm

Alright, since I'm at work and therefore on my phone, I can't show you what I mean by how I seen them both already moved and I think the different screen sizes we both have may be the cause. I'll show you what I mean through a screenshot when I'm home and on my PC.
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion August 20th 2017, 5:31 pm

@Joost, see what I mean how it shows it's already been done?

Screenshot:
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Ape August 20th 2017, 6:35 pm

Hello @Joost Please clear your browser cache and cookies and see if the problem is still there.


Questions about Coding Left1212Questions about Coding Center11Questions about Coding Right112
Questions about Coding Ape_b110
Questions about Coding Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19075
Reputation : 1988
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Questions about Coding

Post by Joost August 20th 2017, 6:39 pm

Draxion wrote:@Joost, see what I mean how it shows it's already been done?

Screenshot:

This issue is not in the topics, only in private messages. See my test pb with the testing account. Smile
Joost
Joost
Active Poster

Male Posts : 1343
Reputation : 186
Language : Dutch, English
Location : The Netherlands

https://ondersteun.actieforum.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Joost August 22nd 2017, 5:27 pm

*Bumpt topic* Laughing
Joost
Joost
Active Poster

Male Posts : 1343
Reputation : 186
Language : Dutch, English
Location : The Netherlands

https://ondersteun.actieforum.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion August 22nd 2017, 6:04 pm

Oh, no wonder why I was puzzled.

Look in your CSS and find this code.
Code:
div.post .postprofile:before {
    content: url(http://i39.servimg.com/u/f39/14/73/12/96/off110.png);
    position: absolute;
    top: 25px;
    left: 5;
    right: 5;
    z-index: 3;
}

Fix the left property by changing the value "5" to "5px" and that should solve the online/offline issue.

Then, replace this to your existing rule p.author.
Code:
p.author {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 1em;
    line-height: 1.2em;
    padding: 0px 0px 5px;
    display: inline;
    margin-left: 160px;
}
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Joost August 22nd 2017, 6:19 pm

@Draxion , thanks this it's solved now! Very Happy
Joost
Joost
Active Poster

Male Posts : 1343
Reputation : 186
Language : Dutch, English
Location : The Netherlands

https://ondersteun.actieforum.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion August 22nd 2017, 6:19 pm

You're welcome!
Problem solved & topic archived.
Please read our forum rules: ESF General Rules
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Back to top

- Similar topics

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