Chris G 29 Posted October 4, 2012 Share Posted October 4, 2012 (edited) I'm creating a new block that will give the user 'my account' and 'log in' buttons in a block on the right column block. (see attached jpeg). I'm having a problem positioning the buttons I want them horizontally centered and vertically spaced better. I can get what I want using <br> and <centre> in the <li> construct but I'm trying to use a CSS file so I can change some of the appearence attributes. I've tried using margin and padding to space the buttons but they don't seem to be having any effect, so I think I'm making a basic error somewhere. I've cut the files down to the basics. Any help would be appreiated Thanks Chris G Attached: CSS module text Img blockuserwelcome.css blockuserwelcome.txt Edited October 9, 2012 by Chris G 29 (see edit history) Link to comment Share on other sites More sharing options...
Chris G 29 Posted October 5, 2012 Author Share Posted October 5, 2012 I'm fairly sure that the css file is not being loaded, (can't see it with firebug at least). Using the Admin panel I've hooked the module to the header as well as right colum. I'm wondering now if the php file is correct. Can anybody help check that this is ok ? PS I'm using version 1.4.9 Thanks Chris G blockuserwelcome.php Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 5, 2012 Share Posted October 5, 2012 Moderation Action: Moved to "Integration" Link to comment Share on other sites More sharing options...
Chris G 29 Posted October 9, 2012 Author Share Posted October 9, 2012 Found the problem, one ofthe class definition names was wrong so CSS wasn't being applied. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now