$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>css - Content going full width even though container is not|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

css - Content going full width even though container is not

matteradmin8PV0评论

Here if you scroll down to the contact section, you will see that the section is going full width, but it shouldn't because its parent container is set to remain boxed in.

Why is this happening?

Here if you scroll down to the contact section, you will see that the section is going full width, but it shouldn't because its parent container is set to remain boxed in.

Why is this happening?

Share Improve this question asked Oct 28, 2018 at 9:55 Grey-loverGrey-lover 1015 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

From a quick look, the contact form fields are centered, with a left and right column. This is on a laptop display; didn't check other devices.

But, the best way to diagnose this is with the Developer Tools. Right-click your form area, select "Inspect Element" (or whatever or F12), then poke around looking at the CSS that is being used for the various elements.

Note that this place is not for CSS-type questions, it's for WordPress development; not plugins, not themes, not CSS, not JS, not PHP. It's best to post your question in the appropriate Stack Overflow area....you'll get faster/better answers there.

Post a comment

comment list (0)

  1. No comments so far