fixed avatar size phpbb3

Go down

Solved fixed avatar size phpbb3

Post by zenzo on March 13th 2017, 6:31 am

what code use to fix avatar size

form version: phpbb3

http://gsmcotabato.forumotion.com/


Last edited by zenzo on March 14th 2017, 5:03 am; edited 1 time in total
avatar
zenzo
Forumember

Posts : 564
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by Draxion on March 13th 2017, 6:35 am

Hi there, add this to your CSS and change the height and width to what you see fit.

Code:
.postprofile dt img {
  width: 0px;
  height: 0px;
}


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 2161
Reputation : 274
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by zenzo on March 13th 2017, 7:14 am

@Draxion wrote:Hi there, add this to your CSS and change the height and width to what you see fit.

Code:
.postprofile dt img {
  width: 0px;
  height: 0px;
}

how about in the log in widgets..
avatar
zenzo
Forumember

Posts : 564
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by Draxion on March 13th 2017, 7:43 am

@zenzo wrote:
@Draxion wrote:Hi there, add this to your CSS and change the height and width to what you see fit.

Code:
.postprofile dt img {
  width: 0px;
  height: 0px;
}

how about in the log in widgets..

Code:
.mod-login-avatar dt img {
  width: 0px;
  height: 0px;
}
avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 2161
Reputation : 274
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by zenzo on March 13th 2017, 8:02 am

it works, could you add code to align it to center text and image
avatar
zenzo
Forumember

Posts : 564
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by Draxion on March 13th 2017, 8:13 am

Replace the code I gave you with this one.

Code:
.postprofile dt img,
.mod-login-avatar dt img {
  width: 0px;
  height: 0px;
}

.module .box-content .mod-login {
    text-align: center;
}
avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 2161
Reputation : 274
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by zenzo on March 13th 2017, 8:40 am

Code:
.module .box-content .mod-login {
    text-align: center;
}

this code is not working
avatar
zenzo
Forumember

Posts : 564
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by Draxion on March 13th 2017, 8:41 am

Which are you trying to center since your profile details are already centered?


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 2161
Reputation : 274
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by SLGray on March 13th 2017, 8:50 am

Do you mean the login widget?


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

avatar
SLGray
Administrator
Administrator

Male Posts : 43673
Reputation : 3104
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by zenzo on March 13th 2017, 9:20 am

@SLGray wrote:Do you mean the login widget?
yes

avatar
zenzo
Forumember

Posts : 564
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by SLGray on March 13th 2017, 9:42 am

Code:
.module .box-content .mod-login-avatar {
    text-align: center;
}


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

avatar
SLGray
Administrator
Administrator

Male Posts : 43673
Reputation : 3104
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by zenzo on March 13th 2017, 10:44 am

nothing happen sir,
avatar
zenzo
Forumember

Posts : 564
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by Draxion on March 13th 2017, 2:48 pm

I'm afraid you may have to use JavaScript to get what you want since you can't align an image without using HTML and I know you can't access the coding in the widget directly.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 2161
Reputation : 274
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by An on March 13th 2017, 3:13 pm

@Draxion wrote:I'm afraid you may have to use JavaScript to get what you want since you can't align an image without using HTML and I know you can't access the coding in the widget directly.
Did you try removing the floats on the avatar's parent container and centering the textual contents? By default the login avatar is floating to the left which prevents it from taking up the whole line and rendering text-align useless.
Code:
.module .box-content .mod-login-avatar {
  text-align:center;
  float:none;
}

Also you should check out this article for centering stuff, because it shows how to center things like images with css only. It's good to have on hand when you need to center something.
avatar
An
Forumember

Posts : 44
Reputation : 24
Language : English

https://help.forumotion.com

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by zenzo on March 14th 2017, 12:41 am

@An wrote:
@Draxion wrote:I'm afraid you may have to use JavaScript to get what you want since you can't align an image without using HTML and I know you can't access the coding in the widget directly.
Did you try removing the floats on the avatar's parent container and centering the textual contents? By default the login avatar is floating to the left which prevents it from taking up the whole line and rendering text-align useless.
Code:
.module .box-content .mod-login-avatar {
  text-align:center;
  float:none;
}

Also you should check out this article for centering stuff, because it shows how to center things like images with css only. It's good to have on hand when you need to center something.

this one works fine,, thank you very much...

and what code represents the text below the avatar,..i want to try to center it also
avatar
zenzo
Forumember

Posts : 564
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by Draxion on March 14th 2017, 4:41 am

Code:
.module .box-content .mod-login {
}


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 2161
Reputation : 274
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by zenzo on March 14th 2017, 5:03 am

@Draxion wrote:
Code:
.module .box-content .mod-login {
}




some text not moving, but nevermind, i guess css wont work for that

thanks for the reply guys..

this topic is now solve
avatar
zenzo
Forumember

Posts : 564
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: fixed avatar size phpbb3

Post by Luffy on March 14th 2017, 11:48 am

Problem solved & topic archived.
Please read our forum rules: ESF General Rules
avatar
Luffy
Manager
Manager

Male Posts : 5556
Reputation : 616
Language : Greek, English
Location : Greece

https://help.forumotion.com

Back to top Go down

Back to top


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