Skip to Content Skip to Menu

tags h2 and h3 wrong placed

  • mk3
  • mk3
  • OFFLINE
  • Posts: 137
  • Thanks: 2
  • Karma: -1
9 years 6 months ago #264390 by mk3
tags h2 and h3 wrong placed was created by mk3
When I use "formatname" as name of user on his profile, in the code it looks like this:
Code:
<h3></h3> <h2> <b>firstname middlename lastname</b> </h2>

Something wrong in your code, am I right?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
9 years 6 months ago #264414 by krileon
Replied by krileon on topic tags h2 and h3 wrong placed
On a clean install the formatname field is in the canvas and its HTML is as follows.

Code:
<div class="cbPosCanvasTitle cbPosCanvasTitleMiddle"> <div class="cb_tab_content cb_tab_html" id="cb_tabid_19"> <div class="page-header cbProfileTitle"> <h3>admin</h3> </div> </div> </div>

No idea why your HTML is structured incorrectly unless the page title language string or parameter has the extra HTML added to it.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • mk3
  • mk3
  • OFFLINE
  • Posts: 137
  • Thanks: 2
  • Karma: -1
9 years 6 months ago #264435 by mk3
Replied by mk3 on topic tags h2 and h3 wrong placed
I keept the old layout (not like in canvas style) on the newest CB release...mybe because of that?

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

  • mk3
  • mk3
  • OFFLINE
  • Posts: 137
  • Thanks: 2
  • Karma: -1
9 years 6 months ago #264458 by mk3
Replied by mk3 on topic tags h2 and h3 wrong placed
Solved that problem - sorry for that question - my inattention, you ar right! My fault...

But I have another question - is it possible to change the "h3" tag by a "h1" tag in the code you've mentioned:
Code:
<div class="cbPosCanvasTitle cbPosCanvasTitleMiddle"> <div class="cb_tab_content cb_tab_html" id="cb_tabid_19"> <div class="page-header cbProfileTitle"> <h3>admin</h3> </div> </div> </div>
not in the code itself (because it will return to "h3" each time a new update is made...), but inside CB menu inside Joomla administrator panel? I meen to make this change permanent?

PS: in fact it's not a bug, so you could move this topic to another place...

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 6 months ago - 9 years 6 months ago #264465 by nant
Replied by nant on topic tags h2 and h3 wrong placed

mk3 wrote: PS: in fact it's not a bug, so you could move this topic to another place...


Please in the future when posting in the Potential Bug area first read this post:

www.joomlapolis.com/forum/147-potential-bug/226964-read-before-posting
Last edit: 9 years 6 months ago by nant.

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

Moderators: beatnantkrileon
Powered by Kunena Forum