*

Locan

  • ****
  • 166 posts
how to make border in home page for article like osclasspoint

*

MB Themes

Re: how to make border in home page for article like osclasspoint
« Reply #1 on: May 27, 2019, 04:12:32 PM »
Via css
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Locan

  • ****
  • 166 posts
Re: how to make border in home page for article like osclasspoint
« Reply #2 on: May 28, 2019, 05:54:14 AM »
i don't mean css hope you understand what's i want.
i try this code  but not work

<?php
  $category_id = Params::getParam('categoryId');
  $category = ModelBLG::newInstance()->getCategoryDetail($category_id);
  $blogs = ModelBLG::newInstance()->getCategoryBlogs($category_id);
  $c = $category;
?>
<style>
#blg-main .blg-latest.blg-result .blg-row, .blg-latest .blg-row{border-radius: 3px 3px 0 0; border-top: 4px solid <?php if($c['s_color'] <> '') { ?><?php echo $c['s_color']; ?><?php } ?>}

</style>