- Posts: 31
COMMUNITY FORUM
K2 category page makes theme's logo image smaller
- Surdo
-
Topic Author
- Offline
- Junior Member
Less
More
8 years 9 months ago #156579
by Surdo
K2 category page makes theme's logo image smaller was created by Surdo
Hello,
I have a problem that I've not been able to solve. On a site that I'm constructing, a page that contains a K2 category listing, somehow redefines the size of the theme's logo image on that page. If you look at the logo at the top left of this page:
psicologiabrasileira.com.br
and then go to the page in question:
psicologiabrasileira.com.br/index.php/blog
you'll see what I mean, the logo gets smaller. The other pages without K2 categories are unaffected.
I've tried to tweak css settings for the logo-img class in firebug but couldn't get anything to work. I also can't see any javascript errors.
Any suggestion please?
Thank you
I have a problem that I've not been able to solve. On a site that I'm constructing, a page that contains a K2 category listing, somehow redefines the size of the theme's logo image on that page. If you look at the logo at the top left of this page:
psicologiabrasileira.com.br
and then go to the page in question:
psicologiabrasileira.com.br/index.php/blog
you'll see what I mean, the logo gets smaller. The other pages without K2 categories are unaffected.
I've tried to tweak css settings for the logo-img class in firebug but couldn't get anything to work. I also can't see any javascript errors.
Any suggestion please?
Thank you
Please Log in or Create an account to join the conversation.
- Surdo
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 31
8 years 9 months ago #156580
by Surdo
Replied by Surdo on topic K2 category page makes theme's logo image smaller
It must have something to do with the way the logo image is selected. I do have two types of logo, one for large screens and one for small. This is usually controlled by css code such as the following:
@media (min-width: 1280px) {
.logo-control .logo-img-sm {
display: none;
}
.logo-control .logo-img {
display: block;
}
}
But this doesn't seem to function properly when the K2 Category listing is called on the page.
@media (min-width: 1280px) {
.logo-control .logo-img-sm {
display: none;
}
.logo-control .logo-img {
display: block;
}
}
But this doesn't seem to function properly when the K2 Category listing is called on the page.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 9 months ago #156599
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 category page makes theme's logo image smaller
I see that you figured this out.
However this is a template issue, unrelated to K2.
For commercial templates please address this issue to the template's developer.
However this is a template issue, unrelated to K2.
For commercial templates please address this issue to the template's developer.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Surdo
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 31
8 years 9 months ago #156603
by Surdo
Replied by Surdo on topic K2 category page makes theme's logo image smaller
Thanks Krikor. Yes I believe it was and sorry I didn't have time to reply here. I'm using a Joomlart template and what was needed was the following in the custom.css file:
.com_k2 img { max-width:none!important; }
All the best,
.com_k2 img { max-width:none!important; }
All the best,
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 9 months ago #156614
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 category page makes theme's logo image smaller
Best of luck with your project :)
might cause issues if the images uploaded through the editor (.itemIntrotext img) don't have a max-width set.
.com_k2 img { max-width:none!important; }
might cause issues if the images uploaded through the editor (.itemIntrotext img) don't have a max-width set.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.