Centre my site title and description
-
Hi
I would be very grateful if anyone could tell me how to centre the position of my site title ‘t r a c y f o x’ and description of ‘designer maker hand dyed fabric’.
It is currently aligned to the left. I have CSS Customization.
My blog is tracyfox.co.uk
Many thanks for your help in advance.
t r a c y
The blog I need help with is: (visible only to logged in users)
-
add / edit these styles:
#site-title { text-align: center;}#site-description{ margin: auto; width: 100%; text-align: center;} -
Thank you nagpai, I have made the changes you suggested and they seemed to have worked a treat.
The query I now have is how to control where the site description text breaks when viewed on a small device ie a phone. It looks ok in landscape orientation but not in portrait.
I have managed to centre the text but ‘designer maker unique hand’ is on one line then ‘dyed fabric’ is underneath.
Many thanks
t r a c y
Is there a way
-
Thanks Tracy. Glad we have partly achieved what you want.
I am rather new to CSS and hence will take me some searches to get you the answer. Will wait for some veterans to answer here. :)
-
-
Ah few interesting reads here (courtesy google):
http://danielmall.com/articles/responsive-line-breaks/
More articles available on keyword “responsive line breaks”
-
Thanks nagpai – a bit beyond my capabitilties, I can manage copying and pasting but that’s about it! :)
- The topic ‘Centre my site title and description’ is closed to new replies.