0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

Centering Module Content

  • Centering Module Content

    Posted 13 years 3 weeks ago
    • Hi,
      I am developing a site in Joomla 2.5 and using Rokecwid to bring in an Ecwid Store:

      * Link removed *

      I published the Rokecwid Minicart Module to the Top C position but the content within the module is aligning to the left. Can someone help me get it to align to the center of the module position please?
    • Last Edit: 11 years 2 months ago by prim.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29363
    • Thanks: 955
    • Volunteer

    Re: Centering Module Content

    Posted 13 years 3 weeks ago
    • please disable css compression ... I can't see the source code when its on
  • Re: Centering Module Content

    Posted 13 years 3 weeks ago
    • Sorry Henning I thought I had?

      In the Global Config (System Tab) I tiurned off Cache and set Memcache Compression to "No"
      In the Template Gantry System (Advanced Tab) I set the Gantry Cache and Gantry Gzipper to "Off"

      Is there something more I need to do to turn off compression?
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29363
    • Thanks: 955
    • Volunteer

    Re: Centering Module Content

    Posted 13 years 3 weeks ago
    • disable rokgzipper-plugin ...
  • Re: Centering Module Content

    Posted 13 years 3 weeks ago
    • I apologize...I am a Newbie. :oops:
      it's disabled now.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29363
    • Thanks: 955
    • Volunteer

    Re: Centering Module Content

    Posted 13 years 3 weeks ago
    • try to add this to your template.css and clear your cache:

      #rt-top div#ecwid_minicart_module_wrapper {
      display: inline-block;
      }

      #rt-top div.in-module-content {
      text-align: center;
      }

      change text-align to right ... if you want it to the right.
  • Re: Centering Module Content

    Posted 13 years 3 weeks ago
    • I pasted to the end of my template.css and cleared my cache but no change apparent?
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29363
    • Thanks: 955
    • Volunteer

    Re: Centering Module Content

    Posted 13 years 3 weeks ago
    • the code is not in there ...

      * link removed */templates/ca_cloudbase2_j25/css/template.css

      btw float: center does NOT exist ...
    • Last Edit: 11 years 2 months ago by prim.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29363
    • Thanks: 955
    • Volunteer

    Re: Centering Module Content

    Posted 13 years 3 weeks ago
    • ok it's in now. clear your cache now ...
  • Re: Centering Module Content

    Posted 13 years 3 weeks ago
    • Ok for some reason its not happening for me yet....I am sure it will kick in soon!
      Thank you for your help!

      I do have a couple of other css challenges on this site that I need some help with. Can I ask you here or should I open another thread for each one?

Time to create page: 0.083 seconds