-
AuthorPosts
-
January 9, 2012 at 4:42 pm #172613
I would like to center the contents within a module.
Is that possible to do with the suffix function?
If so, how? Or is there any other simple solution?
Thank you in advance!
//Andreas
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 9, 2012 at 5:02 pm #433145Greetings Andreas:
Can you be a bit more specific with what it is you are wanting to accomplish – perhaps a screenshot of the module the contents within which you want to center align?
Also, please provide the url of the site you’re working on – as well as set “Optimize CSS” to “No” within your Template Manager–General Settings.
January 9, 2012 at 5:17 pm #433149Sorry I will now try to be a little bit more specific.
The page I am working on is this http://www.tastings.se
and when I publish a new module (not a one with normal text/html content) I often don’t have the option to align to content. On the aboved mentioned site you can see this “problem” for example in user7 position (please also see enclosed pictures).
So my idea was to use a suffix to override the modules normal behaviour.
I hope this will give you enough information.
-
TomC Moderator
TomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 9, 2012 at 7:38 pm #433165I believe I’ve found the solution for you, but I still need you to
set “Optimize CSS” to “No” within your Template Manager–General Settings.January 9, 2012 at 8:02 pm #433171Great!
I have already set “Optimize CSS” to “No”.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 9, 2012 at 9:18 pm #433180Okay – the problem is that you have some sort of online widget thing populating those modules. As such, there does not appear to be CSS within your template file structure to effect the alignment (at least not that I can readily locate).
1 user says Thank You to TomC for this useful post
January 10, 2012 at 6:52 am #433236Thank you for your effort!
As I see it I may have two diffrent way to solve this:
1: Change to modules to text/html with som plugin links that I could allign to center
2: Or could I add som lines in template.css file to make a new suffix function that center the content.
Any way, thank you very much for taking your time to try to help me.
/Andreas
-
AuthorPosts
Viewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 2 voices, and was last updated by alundskog 12 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum