Keyword

K2: catIntroText and catItemTitle bugs & positioning

  • Andrea
  • Andrea's Avatar Topic Author
  • Offline
  • Senior Member
More
7 years 8 months ago - 7 years 8 months ago #159964 by Andrea
Hello everyone, i have a question:
I'm working on a website with Joomla! 3.6.2 and K2 v2.7.1. Template is joomlamonster's JM-guesthouse.

I wanted to center part of the div.catIntroText (which i have enclosed into a <p> linked to a CSS class) to be always at the center of the item view in the category listing.
This is the link: new.verticalife.it/it/sci-alpinismo-nel-gran-paradiso
Here's a screen of what happens now:
imgur.com/a/CATDU
As you can see the <p> is not centered...
Here is the class i have created (in custom.less override):
.itemspecs {
	margin: auto !important;
	width: 60% !important;
}

I would also like to know if there's a different way to achieve that, because with "width:60%" the text in the right block would start a new line .

PART 2 OF THE ISSUE:
I've been noticing that the div.catItemTitle (h2) class is buggy too: i created an override class in custom.less, to give the div a fixed height and an uppercase look, and it didn't work:
div.catItemTitle {
	height: 60px !important;
	text-transform:uppercase !important;
}

I'm forced to edit the custom35.css line to achieve that (and the height part still won't work):
h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color: rgba(0,0,0,0.72) !important;text-transform: uppercase !important}

The problem is that the class i would like to modify (the one that the F12 funcion highlights as catItemTitle) is nowhere to be seen.
Any clue about where i can find it?

Also, the two things (the change in custom35.css and the <p> class in catIntroText) seem to have some conflicts: if one works, the other won't.

Any idea? Thanks a lot for your attention.

Best regards,
Andrea
Last edit: 7 years 8 months ago by Andrea. Reason: details, details, details.

Please Log in or Create an account to join the conversation.

  • Andrea
  • Andrea's Avatar Topic Author
  • Offline
  • Senior Member
More
7 years 8 months ago #159985 by Andrea

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 8 months ago #160001 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2: catIntroText and catItemTitle bugs & positioning
Hello,

This template uses custom overrides. You need to address this issue to the template's developers.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum