Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • cuosc Friend
    #963518

    Hi,

    I have 2 questions.

    Question 1, using the corporate layout, I have 3 articles published on the main page. (http://www.cuoscdemo.co.uk/index.php)

    I’m still not entirely sure how that’s working, but I’ve figured that so long as I categorise an article as ‘Corporate’, it appears there, which is fine.

    My question relates to the ‘Publish Date’…it doesn’t appear on the main screen; however when you select the ‘Read More’ button and view the full article, then the Publish Date appears.

    How do I get the Publish Date to appear on the main screen too?

    Also, question number 2:

    In my ‘Position 1’, I have an image ‘Become a Member’. It is responsive which means it appears great on small devices; however on big devices, the image takes up the full width, and is too big. I’d like to make the image smaller. I tried editing the template and responsive layout for ‘Large’ devices. The position was set to ’12’; however I’ve changed that to ‘6’ to get it to a size that I’m happy with; however how do I center align the position so there’s not a huge white gap on the right?

    Pankaj Sharma Moderator
    #963596

    Hi
    For the article views on the Corporate layout , take a look on thisdocumentation how its configured .
    For the date issue , kindly check the menu options show publish date is set to SHOW , read more option is added so that on the layout view you have intro text to show for the articles .
    For the last question, you have to use col 12 so that I will use full space and comes in the centre . Col 6 is the half and does not put the image on the right side because space is not used by the col-6 .

    cuosc Friend
    #963794

    Hi, thank you for your reply; however with regards the date issue, I already have ‘Publish Date’ set to SHOW, and this is indeed when you click the Read More button, because it does show the date. However on the main screen, it does not. You can see for yourself -> http://www.cuoscdemo.co.uk

    Also, the next question. I don’t want to use col 12 because I don’t want the image/module to be blown up. I want it to be the current size that is, but centrally aligned (see attachment); however on smaller devices I do want it to shrink,so be responsive in that sense.


    1. col6central
    Pankaj Sharma Moderator
    #964050

    Hi
    you can apply a max-width style on the image and then apply it on the col-12 . because the image container does not have a full width it can comes in the center of the site .
    For the date issue , kindly sends me temp super user details of the site , I will check this .

    cuosc Friend
    #964266
    This reply has been marked as private.
    cuosc Friend
    #964270

    max-width style on the image and then apply it on the col-12 . because the image container does not have a full width it can comes in the center of the site

    Can you clarify what you mean? This is the code I have – should that img style be different/somewhere else? I’ve set the position back to col-12 now too.

    <img class="img-responsive" style="max-width: 50%;" src="/images/BecomeAMember.png" alt="Become a Member">
    Pankaj Sharma Moderator
    #964453

    Hi
    use this code

    <p style="
        text-align: center;
    "><a href="/index.php/join"><img class="" style="max-width: 50%;" src="/images/BecomeAMember.png" alt="Become a Member"></a></p>

    becuase you are using img-responsive , it will not use your custom style , it use the style defined for this class .

    http://prntscr.com/cccamu
    For the dates the Publish date are hidden for home menu i set them to show and now u can see the dates on front end .

    cuosc Friend
    #964487

    Pankaj you’re a star! Thanks. Such a simple solution too – I often over complicate things and looked beyond the obvious!

    Thanks again.

    cuosc Friend
    #964673

    Ah, one final thing Pankaj, I’ve used this code:

    <p style="text-align: center;"><a href="/index.php/join"><img class="" style="max-width: 50%;" src="/images/BecomeAMember.png" alt="Become a Member"></a></p>

    It works great on PC’s; however on smaller displays (mobiles/tablets etc) I want it to be 100% width, and fully responsive. Is this possible?

    Pankaj Sharma Moderator
    #964752

    Hi
    Apply the max-width value in px for example : 800px . save and check .

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

This topic contains 9 replies, has 2 voices, and was last updated by  Pankaj Sharma 7 years, 7 months ago.

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