Skip to Content Skip to Menu

Adding a class suffix to blogs

9 years 6 months ago #263717 by matthewdavey
Adding a class suffix to blogs was created by matthewdavey
Can you please give me another example of a class suffix for CB blogs Parameters class

I right clicked Inspect element the area Optionally add a class suffix to surrounding DIV encasing all of CB Blogs."
and got
<input name="params[general_class]" id="params__general_class" value="" class="cbTooltip form-control" data-cbtooltip-tooltip="Optionally add a class suffix to surrounding DIV encasing all of CB Blogs." data-cbtooltip-title="Class" type="text" size="20" aria-invalid="false" data-hasqtip="15">

Im not a coder programer
is a class suffix a css style programed in the joomla template? for eg; I have some called blue-box and no-box but they did nothing to the blogs layout.
Thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago - 9 years 6 months ago #263733 by krileon
Replied by krileon on topic Adding a class suffix to blogs
It adds a CSS Class that surrounds all of CB Blogs output. Whatever string you supply is what it adds as the CSS Class. It can be used to add custom styling to CB Blogs using your own semantic CSS class. It adds it to the top most DIV around CB Blogs output so it's not really going to do anything unless you're written the appropriate CSS to style it.

Im not a coder programer

There's always ways to improve upon this. I recommend the below resources and a willingness to learn :)

Tutorials
www.w3schools.com/html/default.asp
developer.mozilla.org/en-US/docs/Web/Guide/HTML/Introduction
www.w3schools.com/css/default.asp
developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_started

Reference
developer.mozilla.org/en-US/docs/Web/HTML/Reference
developer.mozilla.org/en-US/docs/Web/CSS/Reference

My favorite is the below. It's a unified documentation site that brings a lot of documentations under a single site.

devdocs.io/


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.
Last edit: 9 years 6 months ago by krileon.

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

Moderators: beatnantkrileon
Powered by Kunena Forum