Skip to content

Commit

Permalink
Update css-generator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jessuppi authored Oct 7, 2024
1 parent df8efc9 commit 73eff72
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions inc/css-generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ function hovercraft_generate_css(){
$prefooter_top_align = get_theme_mod( 'hovercraft_prefooter_top_align', 'left' );
$prefooter_bottom_columns = get_theme_mod( 'hovercraft_prefooter_bottom_columns', '1' );
$prefooter_bottom_align = get_theme_mod( 'hovercraft_prefooter_bottom_align', 'left' );
$postcolumns_top_align = get_theme_mod( 'hovercraft_postcolumns_top_align', 'left' );
$postcolumns_bottom_align = get_theme_mod( 'hovercraft_postcolumns_bottom_align', 'left' );

/* footer */
$footer_mobile_font_size = get_theme_mod( 'hovercraft_footer_mobile_font_size', '14' );
Expand Down Expand Up @@ -2815,7 +2817,7 @@ function hovercraft_generate_css(){
.postcolumns-top {
width: 100%;
padding: 30px 20px;
text-align: center;
text-align: <?php echo $postcolumns_top_align; ?>;
background: <?php echo $postcolumns_top_background_color; ?>;
color: <?php echo $postcolumns_top_text_color; ?>;
}
Expand All @@ -2825,7 +2827,7 @@ function hovercraft_generate_css(){
.postcolumns-top {
width: 100%;
padding: 30px 0px;
text-align: center;
text-align: <?php echo $postcolumns_top_align; ?>;
background: <?php echo $postcolumns_top_background_color; ?>;
color: <?php echo $postcolumns_top_text_color; ?>;
}
Expand All @@ -2835,7 +2837,7 @@ function hovercraft_generate_css(){
.postcolumns-bottom {
width: 100%;
padding: 30px 20px;
text-align: center;
text-align: <?php echo $postcolumns_bottom_align; ?>;
background: <?php echo $postcolumns_bottom_background_color; ?>;
color: <?php echo $postcolumns_bottom_text_color; ?>;
}
Expand All @@ -2845,7 +2847,7 @@ function hovercraft_generate_css(){
.postcolumns-bottom {
width: 100%;
padding: 30px 0px;
text-align: center;
text-align: <?php echo $postcolumns_bottom_align; ?>;
background: <?php echo $postcolumns_bottom_background_color; ?>;
color: <?php echo $postcolumns_bottom_text_color; ?>;
}
Expand Down

0 comments on commit 73eff72

Please sign in to comment.