ma5noo2 ma5noo2 - 1 month ago 5x
PHP Question

i can't modify the css of integrated word press 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 Word Press.
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 tried every thing in CSS, naming
, naming
, even using
in CSS and nothing happens. It keeps it the same as it is.


use this on your custom css file

    list-style: none !important;