Skip to content

Commit

Permalink
refactor: Update padding and CSS for contact-us section
Browse files Browse the repository at this point in the history
The CSS changes in main.css, contact-us.css, and contact-us.scss update the padding values for the .contact-us class from 60px to 24px. This modification reduces the padding and improves the spacing of the contact-us section in the Academy Africa theme. Additionally, the CSS changes in main.css and _footer.scss add the "white-space: nowrap" property to the links, preventing them from wrapping to the next line. These modifications enhance the readability and user experience of the contact-us section and links in the theme.
  • Loading branch information
koechkevin committed Dec 2, 2024
1 parent 886243e commit 760e2d0
Show file tree
Hide file tree
Showing 6 changed files with 145 additions and 6 deletions.
4 changes: 2 additions & 2 deletions wp-content/themes/academyAfrica/assets/css/dist/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

131 changes: 131 additions & 0 deletions wp-content/themes/academyAfrica/assets/css/dist/pages/contact-us.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $font-family_1: Open Sans;

.root {
row-gap: 60px;
padding: 100px 40px;
padding: 100px 24px;
width: 100%;
.links {
display: flex;
Expand Down Expand Up @@ -249,7 +249,7 @@ $font-family_1: Open Sans;
@media only screen and (max-width: 768px) {
.root {
.item {
padding: 0 20px;
padding: 0;
flex: 1 1 100%;
width: 100%;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "../abstracts/" as *;

.contact-us {
max-width: 1920px;
padding: 60px 148px;
Expand All @@ -15,3 +17,9 @@
margin-top: 40px;
}
}

@include media-breakpoint-down(large) {
.contact-us {
padding: 60px 24px;
}
}
2 changes: 1 addition & 1 deletion wp-content/themes/academyAfrica/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function child_theme_configurator_css()

// END ENQUEUE PARENT ACTION

define('ACADEMY_AFRICA_VERSION', '1.5.13');
define('ACADEMY_AFRICA_VERSION', '1.5.14');
const MINIMUM_ELEMENTOR_VERSION = '3.16.6';


Expand Down

0 comments on commit 760e2d0

Please sign in to comment.