Posts

Showing posts with the label wordpress-theming

removing padding from columns in wordpress

Image
removing padding from columns in wordpress Hi I want to remove padding from padding from columns in wordpress. http://codesigners.co.uk/nuala/restaurant/ looking at the code: .vc_column_container>.vc_column-inner { box-sizing: border-box; padding-left: 15px; <<<tied making this 0px padding-right: 15px; <<<tied making this 0px width: 100%; } also have tried editing the js_composer.min.css file. Any ideas? 1 Answer 1 Change settings of visual composer row : Row Settings > Row Stretch > Stretch row and content (no padding) By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

the_post_thumbnail returns outside the the hyperlink

the_post_thumbnail returns outside the the hyperlink when I use get_the_post_thumbnail it returns the featured image default size inside <a></a> but when I use it without get to insert the predefined size name in function file it returns the desired size but outside the hyperlink. get_the_post_thumbnail <a></a> <?php $args = array('showposts' => 25); $the_query = new WP_Query( $args ); if( $the_query->have_posts() ): echo '<ul>'; while ( $the_query->have_posts()) : $the_query->the_post(); echo '<span><li><a href="'.get_the_permalink().'">' .the_post_thumbnail('shapely-grid').' '.get_the_title().'</a> <p>' .get_the_excerpt($limit).'</p></li></span>'; endwhile; echo '</ul>'; endif; wp_reset_query(); ?> 1 Answer 1 ...

Divi theme clashing with Yoast SEO

Divi theme clashing with Yoast SEO has anybody experienced the Divi theme builder clashing with Yoast SEO v.7.6? This problem occurred right after updating the Yoast plugin. I need some help please guy, as Yoast support doesn't seem to respond By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

wordpress outputting extra html code

wordpress outputting extra html code I'm building a theme in WordPress, I'm a newbie, along with the image HTML is being outputted, please do help me resolve this issue, thank you. <?php $args = array( 'numberposts' => 4, 'order'=> 'ASC', 'orderby' => 'title', 'category' => '5' ); $postslist = get_posts( $args ); foreach ($postslist as $post) : setup_postdata($post); ?> <li> <div class="timeline-image"> <a href="<?php the_permalink(); ?>"> <img class="rounded-circle img-fluid" src="<?php echo the_post_thumbnail(); ?>"> </a> </div> <div class="timeline-panel"> <div class="timeline-heading"> <h4 class="subhe...