Get 2024 Templates Mega Bundle!19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets
Get for 99$

Scroll


Hey team,

How can I use scroll-x defined here https://preview.keenthemes.com/html/metronic/docs/general/scroll

with pricing cards here https://preview.keenthemes.com/metronic8/demo1/pages/pricing.html

Assume I have more than 6 items. I need a scroll-x here but I can't activate it as described in the documentation.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi,

To have scrollable pricing blocks you will need to customize the code as shown below:


<!--begin::Row--> 
<div class="d-grid">
<div class="scroll-x">
<div class="d-flex gap-10">
<!--begin::Col-->
<div class="w-300px flex-shrink-0">
...
</div>
<!--end::Col-->
<!--begin::Col-->
<div class="w-300px flex-shrink-0">
...
</div>
<!--end::Col-->
<!--begin::Col-->
<div class="w-300px flex-shrink-0">
...
</div>
<!--end::Col-->
<!--begin::Col-->
<div class="w-300px flex-shrink-0">
...
</div>
<!--end::Col-->
<!--begin::Col-->
<div class="w-300px flex-shrink-0">
...
</div>
<!--end::Col-->
</div>
</div>
</div>
<!--end::Row-->


Please give a try and let us know if you need any further help.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(