- This topic has 1 reply, 2 voices, and was last updated 3 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › All Other Themes › change widths of footer
Hi, I’m using solar energy theme and I want to adjust the size widths of the footer columns.
Using 3 footer columns, making the 1st column 25% and the other 2 equal size (or similar size).
How do I change the code for that?
I see :
<?php } if ($footertype == 3) {?>
<div class=”footercols3″ ><?php if (dynamic_sidebar(‘footer-1’)) : else : ?><h4><?php if (!empty ($complete[‘foot_cols1_title’])) { $ftcols1 = html_entity_decode($complete[‘foot_cols1_title’]); $ftcols1 = stripslashes($ftcols1); echo do_shortcode($ftcols1); } ?></h4><?php $ftcols1cntnt = $complete[‘foot_cols1_content’]; echo do_shortcode($ftcols1cntnt); endif;?></div>
<div class=”footercols3″><?php if (dynamic_sidebar(‘footer-2’)) : else : ?><h4><?php if (!empty ($complete[‘foot_cols2_title’])) { $ftcols2 = html_entity_decode($complete[‘foot_cols2_title’]); $ftcols2 = stripslashes($ftcols2); echo do_shortcode($ftcols2); } ?></h4><?php $ftcols2cntnt = $complete[‘foot_cols2_content’]; echo do_shortcode($ftcols2cntnt); endif;?></div>
<div class=”footercols3″><?php if (dynamic_sidebar(‘footer-3’)) : else : ?><h4><?php if (!empty ($complete[‘foot_cols3_title’])) { $ftcols3 = html_entity_decode($complete[‘foot_cols3_title’]); $ftcols3 = stripslashes($ftcols3); echo do_shortcode($ftcols3); } ?></h4><?php $ftcols3cntnt = $complete[‘foot_cols3_content’]; echo do_shortcode($ftcols3cntnt); endif;?></div>
<?php } ?>
Hi,
This is done. Kindly check and confirm.
Regards,
Dave
Do you want to activate WordPress plugins from the database? This term is new yet interesting to learn. And if you are looking for an […]
Image Gallery WordPress Plugins You’ve got stunning visuals, but WordPress’s built-in gallery block is too basic. It doesn’t let you do fancy layouts, lightboxes, or […]
Insert Headers and Footers Plugins When you need to add essential scripts—think Google Analytics, Facebook Pixel, or custom CSS—to your site, modifying theme files is […]