Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • sunlons Friend
    #196621

    Hello,

    When I use the Decor, the layout has been changed as below which I don’t want:

    How can I show as before:


    1. news-layout
    2. news-before
    Css Magician Friend
    #530240

    @sunlons, if you don’t want to show default image, please open the templatesja_decorhtmlcom_contentcategoryblog_item.php file and replace:

    <div class="item-image <?php if($num_columns==1): echo ' col-sm-6'; endif; ?> col-xs-12">

    with
    <div class="item-image col-xs-12">

    And replace:

    <div class="item-desc <?php if($num_columns==1): echo ' col-sm-6'; endif; ?> col-xs-12">

    with:
    <div class="item-desc col-xs-12">

    sunlons Friend
    #530265

    Thanks, I change it will your code.

    it will still show default-image, what is the default-image mean? I don’t want it to show”default-image”text.


    1. default-image
    Css Magician Friend
    #530277

    @sunlons, please open the templatesja_decorhtmlcom_contentcategoryblog_ item.php file and remove:

    <?php else: ?>
    <div class="item-image article-image article-image-intro">
    <img src="<?php echo JURI::root(true);?>/images/joomlart/demo/default.jpg" alt="Default Image"/>
    </div>

    frenchy74 Friend
    #530505

    Hi CSS Magician

    I tried that and it causes a php error and breaks the site:(( We might have to look at something else.

    Cheers

    Chris

    MoonSailor Friend
    #530933

    @frenchy74: I need to have a closer look to detect the root of issue, please PM me url, admin and ftp credentials of your site.

    frenchy74 Friend
    #531187

    Thanks Moon

    It was a dreamweaver issue, when I used a text editor it worked fine.

    Cheers

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 4 voices, and was last updated by  frenchy74 10 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum