Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 95964

csalasco on "Div tags don't work, need help ASAP"

$
0
0

Hello,

I am using a wordpress plugin called Content Parts. The plug allows me to break up content in the page editor flexible pieces that can be arranged in the Wordpress php editor.

I'm working in the front front-page.php file.

Highlighted coded below:

http://gyazo.com/167a0cdb73ce6cb360dffe97a7155c78

The Site: http://myonemedical.com/

the_content_part ( 1 ) corresponds to the first section that contains the headshot, name, and copy.

the_content_part ( 2 ) corresponds to the second row and so on.

etc

What I'm having trouble with is assigning div tags to style each part specifically.

I've tried using this in the php file:

<div id="hk"><?php if ( function_exists( 'the_content_part' ) ) the_content_part( 2 ); ?></div>

and this in the css stylesheet:

#meet {background:#ffffff;}

But there's no change.

Can someone help me understand what I'm missing?


Viewing all articles
Browse latest Browse all 95964

Trending Articles