ma5noo2 ma5noo2 - 1 year ago 59
CSS Question

i can't modify the css of integrated WordPress code

I have a static web page which I use as my main homepage. I am designing the page with HTML and CSS code with some PHP code integrated from My WordPress.
The last integrated code is the code to display the recent 3 posts. It displays the posts, but I can't modify the result with CSS. Here is the PHP code:

$postslist = get_posts( $args );
echo '<ul class="latest_posts">';
foreach ($postslist as $post) : setup_postdata($post);
<?php the_post_thumbnail('medium'); ?><br/>
<a href="<?php the_permalink(); ?>" title="<?php the_title();?>"> <?php the_title(); ?></a>
<?php endforeach; ?>

I have tried everything in CSS, naming
, naming
, even using
in CSS and nothing happens. It keeps it the same as it is.

Answer Source

use this on your custom css file

    list-style: none !important;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download