Welcome to Admin Junkies, Guest — join our community!

Register or log in to explore all our content and services for free on Admin Junkies.

✔️ Resolved Need help with some CSS on a project

Resolute

Well-known member
Joined
Oct 4, 2022
Messages
58
Credits
51
I am working on a project but need some help with CSS. It’s a minor thing (I think)!

When someone goes to reply to a post on their phone, the reply box goes off the screen a little. I am using phpBB and the Milk 2 style. Please let me know if you can help!
 
Try using the max-width property on the reply area to set a maximum width the reply box can be. If you need to affect mobile devices only, use media queries.
 
No, a CSS selector is the class or ID attached to the element. If you right-click on the element/reply box and select “Inspect Element” or something similar depending on which browser you’re using you should be able to see a class or ID attached to it, or the nearest element with a class or ID attached to it.
 
Yes, try this:

#postingbox fieldset { width: 100%; }

Or this:

@media only screen and (max-width: 600px) { #postingbox fieldset { max-width: #px; } }

Changing the number sign to the number of pixels you want the reply box to be on mobile devices.
 

Log in or register to unlock full forum benefits!

Log in or register to unlock full forum benefits!

Register

Register on Admin Junkies completely free.

Register now
Log in

If you have an account, please log in

Log in
Activity
So far there's no one here

Users who are viewing this thread

Would You Rather #9

  • Start a forum in a popular but highly competitive niche

    Votes: 5 21.7%
  • Initiate a forum within a limited-known niche with zero competition

    Votes: 18 78.3%
Win this space by entering the Website of The Month Contest

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds