Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Want to use inline h2, h3, h4 tags in the body text


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old Mar 3, 2011, 08:09 PM
lmartindesign
 
3 posts · Mar 2011
Want to use inline h2, h3, h4 tags in the body text

So I've added display:inline to my h2, h3, h4, h5 tags in the custom css; however when looking at the produced code on the page, wordpress is adding a <br> before the <h2> tag and <p> after. Is there a location that it's hardcoded to remove those defaults? I have no issue with using the inline coding with regular html pages.

this is my code:
Code:
Our Great Western Transportation team has more than 100 years of trucking experience within the <h2 style="display:inline!important;">LTL Trucking</h2> and Full Truckload industry. We specialize in the Flatbed Trucking, Refrigerated Trucking, Dry Van Trucking, Heavy Haul Trucking and Power Only Trucking areas.
And what WP generates:
Code:
 Our Great Western Transportation team has more than 100 years of trucking experience within the<br />
<h2 style="display:inline!important;">LTL Trucking</h2>
<p> and Full Truckload industry. We specialize in the Flatbed Trucking, Refrigerated Trucking, Dry Van Trucking, Heavy Haul Trucking and Power Only Trucking areas.</p>
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing color of ALL but body text - headlines, "Read more" text, etc. satori Center area post/pages 3 Sep 18, 2010 06:47 AM
Add code after post text but before the tags section Wonderbaum Post-Kicker, -Byline & -Footer 2 May 22, 2010 06:02 PM
text in exerpt body instead of [...] peterf Excerpts, Read more, Pagination 1 May 31, 2009 06:05 PM
Changing a widget display from block to inline (Twitter Text Widget) Flur Sidebars & Widgets 2 May 7, 2009 11:45 AM
knock out for body text tekdiver500ft Atahualpa 3 Wordpress theme 4 Feb 4, 2009 12:43 PM


All times are GMT -6. The time now is 05:11 AM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.