0
Welcome Guest! Login
0 items Join Now

Own Page Class Suffix

  • Own Page Class Suffix

    Posted 14 years 6 months ago
    • Hi there,

      i am a newbie to css so pls be patient with me :oops:

      i am using your "dominion" template..

      now i want to center some of the contents, but not all - so i have to create a page class in the template.css?!

      can some1 help me with the code?

      #center-page
      {
      margin-left: auto;
      margin-right: auto;
      }

      is it correct? or what is the correct css code?
      do i have to set the page class suffix to : center-page?

      thx for help!
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Own Page Class Suffix

    Posted 14 years 6 months ago
    • Hello,

      # indicates an "ID" element to create a class use: .
      in this case:
      .center-it {
      text-align: center;
      }

      Then you can apply the the suffix: center-it
      to your menu item's parameters

      If your site is online, please provide the URL to the page in question. Then we can address the specifics of your situation a little better.
  • Re: Own Page Class Suffix

    Posted 14 years 6 months ago
    • hi,

      thx for the answer.. but that doesnt work.

      joomla.hellofdestruction.de

      when u click at "register" at the upper right corner, it shows the registration page..

      i want to center this menu at the page..

      is it possible?
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Own Page Class Suffix

    Posted 14 years 6 months ago
    • Hello,

      Thanks for the URL address. I want to help you get this resolved. Please provide a little more specific information (like; which menu, give a screen shot with arrows pointing to what you want moved and where you want it moved).
      This image is hidden for guests.
      Please log in or register to see it.
  • Re: Own Page Class Suffix

    Posted 14 years 6 months ago
    • hi .. thx for helping me!

      i mean this registration module (see attachment)
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Own Page Class Suffix

    Posted 14 years 6 months ago
    • Hello,

      Great.
      Add this to the bottom of your template.css file.
      table#registrationTable {width: 340px !important;}
  • Re: Own Page Class Suffix

    Posted 14 years 6 months ago
    • hi ..

      i did .. but it doesnt work .. hasnt moved to the center!

      and i wanna center not only this page, there are a few more..

      isnt there a way to set up a page class suffix that center all pages i want !?
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Own Page Class Suffix

    Posted 14 years 6 months ago
    • Use this instead at the bottom of your template.css file.
      table#registrationTable {width: 340px !important;margin-left: auto; margin-right: auto;}
  • Re: Own Page Class Suffix

    Posted 14 years 5 months ago
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Own Page Class Suffix

    Posted 14 years 5 months ago
    • Well, each page that you have has different styles from different sources and as such must be customized individually based on the elements involved.If you need to have several different modules and/or component renderings customized, you may need to hire that out. You can always ask for customization assistance in the MarketPlace where a designer (not affiliated with RT can quote you for their services)

      Another option is to use firebug to identify these elements and then make the necessary styles to the elements.

Time to create page: 0.085 seconds