center widget on Home page

Homepage Community Forums Epik Theme Support center widget on Home page

  • This topic has 7 replies, 2 voices, and was last updated 11 years ago by Wes.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #4165
    mfickler
    Customer

      I installed the social circles widget on one of the full width areas of the home page. It has an alignment selection of either left or right. Can I get this widget to align to the center?

      #4184
      Wes
      Moderator

        From what it sounds like, probably not, but it all depends on the plugin itself and the code they use. If you can give me a live link with the plugin in action I can look at the code and let you know if it can be done or not.

        #4212
        mfickler
        Customer

          http://oldspartanfitness.com/

          I am referring to the social circles in Home Feature #3

          #4227
          Wes
          Moderator

            It can be done, but you’ll have to make some hacks to get it working.

            Add this to your style.css file –

            `.social-circles ul li {
            display: inline-block !important;
            float: none !important;
            margin: 0 10px 10px !important;
            }`

            That should override the plugins css for the list elements…..referring to “li” in the html code source.

            Then add this –

            `.social-circles .alignleft,
            .social-circles .alignright {
            float: none !important;
            text-align: center !important;
            }`

            This overrides the alignleft and alignright and allows us to center it.

            #4248
            mfickler
            Customer

              did not seem to work. I put both sets of code in the style.css file

              #4259
              Wes
              Moderator

                It’s working, you probably just need to hit your reload button on your browser (it will clear your browser cache automatically).

                Here is a screenshot of what it looks like when I take a look – http://i.imgur.com/aTnRoOC.png

                After you hit reload, let me know what you see.

                #4271
                mfickler
                Customer

                  you are right. I am a liar. Very good Wes, Thanks

                  #4274
                  Wes
                  Moderator

                    You’re Welcome

                  Viewing 8 posts - 1 through 8 (of 8 total)
                  • The topic ‘center widget on Home page’ is closed to new replies.