- Posts: 198
- Thank you received: 0
Using circles to display images of featured articles on Home page
-
Danimeeka
Active member - Topic Author
- Member
Less
More
5 years 10 months ago #47410
by Danimeeka
Hi,
On the demo landing page you have 6 circles, eg. Joomla! EU Conference, linking to featured blog articles.
When I try to set this up on other pages I do not get the images in circles.
How do I format the featured blog articles to appear on a different page just as they appear on the landing page?
Thanks,
Julia.
PS My site is at historicwinton.org/hw-joomla .
On the demo landing page you have 6 circles, eg. Joomla! EU Conference, linking to featured blog articles.
When I try to set this up on other pages I do not get the images in circles.
How do I format the featured blog articles to appear on a different page just as they appear on the landing page?
Thanks,
Julia.
PS My site is at historicwinton.org/hw-joomla .
Please Log in to join the conversation.
-
Danimeeka
Active member - Topic Author
- Member
Less
More
- Posts: 198
- Thank you received: 0
5 years 10 months ago #47411
by Danimeeka
Replied by Danimeeka on topic Using circles to display images of featured articles on Home page
Additional info: I have the featured article images set up on the Home page as in the demo, and also on the Competitors page. I would like them to display on the Competitors page the way they do on the Home page.
Thanks,
Julia.
Thanks,
Julia.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6742
- Thank you received: 715
5 years 10 months ago - 5 years 10 months ago #47413
by milos
Replied by milos on topic Using circles to display images of featured articles on Home page
Hello,
You should target the image in CSS and add border radius of 50% to it. There's no uniform rule to achieve this. In an example, to make the images on this page historicwinton.org/hw-joomla/index.php/competitors rounded, you should add this in CSS:
This will make all the images inside the "blog-featured" container rounded. An image will be in a circular shape if its width and height are equal.
Thanks,
Milos
You should target the image in CSS and add border radius of 50% to it. There's no uniform rule to achieve this. In an example, to make the images on this page historicwinton.org/hw-joomla/index.php/competitors rounded, you should add this in CSS:
Code:
.blog-featured img {
border-radius:50%;
}
This will make all the images inside the "blog-featured" container rounded. An image will be in a circular shape if its width and height are equal.
Thanks,
Milos
Last edit: 5 years 10 months ago by milos.
Please Log in to join the conversation.
-
Danimeeka
Active member - Topic Author
- Member
Less
More
- Posts: 198
- Thank you received: 0
5 years 10 months ago #47417
by Danimeeka
Replied by Danimeeka on topic Using circles to display images of featured articles on Home page
Hi Milos,
Thanks for trying to explain this to me. I don't actually know how to target the image. I see <div class="pull-none item-image"> is used on the Competitors page ( historicwinton.org/hw-joomla/index.php/competitors ). Do I need to employ code from this to target the image?
Thanks,
Julia.
Thanks for trying to explain this to me. I don't actually know how to target the image. I see <div class="pull-none item-image"> is used on the Competitors page ( historicwinton.org/hw-joomla/index.php/competitors ). Do I need to employ code from this to target the image?
Thanks,
Julia.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6742
- Thank you received: 715
5 years 10 months ago #47419
by milos
Replied by milos on topic Using circles to display images of featured articles on Home page
Hello,
You can try with:
Best regards,
Milos
You can try with:
Code:
.item-image img {
border-radius:50%;
}
Best regards,
Milos
Please Log in to join the conversation.
-
Danimeeka
Active member - Topic Author
- Member
Less
More
- Posts: 198
- Thank you received: 0
5 years 10 months ago #47422
by Danimeeka
Replied by Danimeeka on topic Using circles to display images of featured articles on Home page
Hi Milos,
No luck, this doesn't work. Never mind - I don't think this is important enough to worry about.
Thanks anyway,
Julia.
No luck, this doesn't work. Never mind - I don't think this is important enough to worry about.
Thanks anyway,
Julia.
Please Log in to join the conversation.
Time to create page: 0.288 seconds