WordPress.org

Ready to get started?Download WordPress

Forums

How can i have different styled text widgets on same page (1 post)

  1. sash_007
    Member
    Posted 3 years ago #

    Hello friends,
    I am having some problem

    i am converting a html template to wordpress for that i am using four text widgets for the footer which will have diffrent style than the text widget used in content area so is it possible to have separate styled text widgets? becoz when i paste html class within text widget it dint work
    I also want to know bu default the size of text widget title is h4 can i change it too?

    for instance i give an example

    <div class="col_w225">
    			<?php  if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('footer2')) : ?>
    				<?php endif; ?>
                	<!--<h5>Privacy Policy</h5>
                    <div class="col_w225_content"> Suspendisse at nisi nec diam pretium tincidunt.  Integer pellentesque dignissim diam. Quisque ornare pulvinar. </div>-->
              	</div>

    and when i view the source code of this the outupt is

    div class="col_w225">
    			<h4>Privacy Policy</h4>			<div class="textwidget">Suspendisse at nisi nec diam pretium tincidunt.  Integer pellentesque dignissim diam. Quisque ornare pulvinar.</div>
    		            	<!--<h5>Privacy Policy</h5>
                    <div class="col_w225_content"> Suspendisse at nisi nec diam pretium tincidunt.  Integer pellentesque dignissim diam. Quisque ornare pulvinar. </div>-->
              	</div>

    clearly it is seen that text widget heading is h4 how can i style the widget title for different areas?
    here i pasted the commented code in the text widget but it dont work so i hope you are getting what i am trying to achieve i have 4 more cols like that in footer and i am also using text widget in other areas of the same page

Topic Closed

This topic has been closed to new replies.

About this Topic