123,796+ downloads

0
Hello,

I used a squared image (250x250) as cover image for the category I created.
As shown in figure attached the image is not centred. Is it possible to put it in the center?
Which is the suggested dimension for cover image?

Thank you
Attachments (1)
Replies (12)
Marco1990 Accepted Answer Pending Moderation
  1. Replied more than a month ago
  2. #Permalink
Here is the image which I used. It is perfectly centred with no blank space at sides
Attachments (1)
Abhishek Agrawal Accepted Answer Pending Moderation
Team
  1. Replied more than a month ago
  2. #Permalink
Hi Marco,

May i know which theme are you using? You can easily style this via CSS.
Marco1990 Accepted Answer Pending Moderation
  1. Replied more than a month ago
  2. #Permalink
Hi Ankit.
What do you mean by theme?

I am using S-Quick template and I did not change anything.
Kindly can you explain how can I centre the image by css?
Abhishek Agrawal Accepted Answer Pending Moderation
Team
  1. Replied more than a month ago
  2. #Permalink
Hi Marco,

Theme = Template.

ROOT/templates/TEMPLATE_NAME/css/com_sellacious/fe.view.categories.css

Line Number 150.

Change the line
background-size: cover;
to
background-size: contain;
Marco1990 Accepted Answer Pending Moderation
  1. Replied more than a month ago
  2. #Permalink
Hello Ankit.
I am not able to find the text you suggested to change.
Are you sure it is there?
Abhishek Agrawal Accepted Answer Pending Moderation
Team
  1. Replied more than a month ago
  2. #Permalink
Yes, It should be there. If your site is online, I can just FTP into it and fix it for you.
Marco1990 Accepted Answer Pending Moderation
  1. Replied more than a month ago
  2. #Permalink
Hello,
here is a picture of the file, as you can see it is not there.

Unfortunately the website in not online yet. I will let you know when it will
Attachments (1)
Abhishek Agrawal Accepted Answer Pending Moderation
Team
  1. Replied more than a month ago
  2. #Permalink
Hi Gino,

Try finding this class:
.catogry-childblocks .image-wrap span.product-img

Optionally, Do inspect elements to see where the code is.
Marco1990 Accepted Answer Pending Moderation
  1. Replied more than a month ago
  2. #Permalink
Hello Ankit,
I'm really sorry but I'm not able to find the text you wrote.
Is that a way to send you the file by email??
Abhishek Agrawal Accepted Answer Pending Moderation
Team
  1. Replied more than a month ago
  2. #Permalink
Yes. Please check your direct messages for my email.
Sahil Accepted Answer Pending Moderation
Team
  1. Replied more than a month ago
  2. #Permalink
Hi Marco,

Please let us know if you still facing the same issue or it has been resolved.
If it has been resolved, please mark this post as resolved.

Thanks
Marco1990 Accepted Answer Pending Moderation
  1. Replied more than a month ago
  2. #Permalink
Hello.
Sorry, I forgot to mark the post but now it is solved.

Have a nice day
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.
Support is Offline
Support Hours
Monday To Saturday
From 09:00 To 21:00 IST
Sellacious Time 00:00:00

Login

?
?