Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

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


 
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 11:57 PM.


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