Tagged: align, catch box, center, css, site title
- This topic has 22 replies, 4 voices, and was last updated 9 years, 8 months ago by Pratik. 
- 
		AuthorPosts
- 
		
			
				
January 22, 2016 at 5:58 pm #83459lygiahuan MemberPlease take a look at my blog: http://cuden.net/ I would like to align the site title so that it is vertically centered of the logo. 
 I also would like the logo and the site tittle (as a whole) to be horizontally centered.Please help. I really appreciate it. January 23, 2016 at 10:09 am #83505Pratik ParticipantHi @Iygiahuan, 
 To vertically align the site title to logo and then horizontally center the block, add in following CSS Code in Appearance=> Customize=> Theme Options=> Custom CSS box#header .logo-wrap { float:none; margin: auto; width: 50%; } #site-details { padding-top: 30px; }Let me know how it works out. Regards, 
 PratikJanuary 23, 2016 at 5:20 pm #83529lygiahuan MemberHi Pratik, Thank you for your help. It worked, but not exactly what I imagined. 
 The logo+title block are somewhat in the middle (still slightly to the left). I would love to see them right in the middle.
 Also, the social icons (FB and Instagram) were somehow pushed down and created unnecessary blank space. Ideally, I would like to see those icons at the same level as the title. If that’s not possible, please reduce the blank space, and move the icons to the top.Thank you! January 23, 2016 at 8:28 pm #83537Pratik ParticipantHi @Iygiahuan, 
 Ok, because of a default min-width CSS attribute, the logo is not being centered properly. Also for social icons to move it in level with the title, remove the previous code and add in following CSS code in the same place:#header .logo-wrap { float: none; margin: 0 auto; min-width: 0; width: 50%; } #site-details { padding-top: 30px; } #header .social-search { margin-top: -45px; }Let me know how this works out. Regards, 
 PratikJanuary 24, 2016 at 4:49 am #83555January 24, 2016 at 8:04 am #83567Pratik ParticipantHi @marga, 
 I am glad it worked out.If you liked our theme and support, please give us your valuable review at https://wordpress.org/support/view/theme-reviews/simple-catch. Thank, 
 PratikFebruary 11, 2016 at 10:57 am #85182rohit Memberhi i want to add full width header image on my Catch Everest Theme 
 please give the require size of the image.my url is : http://www.marathimastar.com/ please help me in this. thanks February 11, 2016 at 12:30 pm #85196Pratik ParticipantHi @rohit, 
 There is no exact size for header image in Catch Everest theme. What you can do is skip the cropping when you add the header image.Recommended size is: 1140px width Regards, 
 PratikFebruary 12, 2016 at 8:35 pm #85284giuliog MemberHello, I am trying to align the logo with my title but unsuccesfully so far. Any tips? http://s611122501.websitehome.co.uk/ Thanks Giulio February 13, 2016 at 8:20 am #85321Pratik ParticipantHi @giuliog, 
 I cannot understand exactly what you mean. Do you want the title and description to be aligned with logo, or in the middle with respect to the vertical height of the logo?
 If you want the site title and tagline to be aligned in middle with the logo, you can add following CSS code in Appearance=> Customize=> Theme Options => Custom CSS box:#hgroup.with-logo { margin-top: 10px; }Regards, 
 PratikFebruary 13, 2016 at 3:46 pm #85327giuliog MemberHi Pratik, Thank you very much foy your quick answer. I managed at the end to align the logo with the title, although it feel a bite too close. Any CSS to distantiate them a bit. Thank you very much Giulio February 13, 2016 at 7:26 pm #85340Pratik ParticipantHi @giuliog, To add a bit of distance between logo and title, , you can add following CSS code in Appearance=> Customize=> Theme Options => Custom CSS box: #hgroup.with-logo { margin-left: 15px; }You can increase or decrease 15 to increase or decrease the gap. Let me know if this works or not. Regards, 
 PratikFebruary 13, 2016 at 9:45 pm #85351giuliog MemberFantastic Pratik, It worked greatly, thank you very much Giulio February 13, 2016 at 9:46 pm #85352giuliog MemberOnly another question. Is there anyway which the logo can go on the far right neat the search widget? Thanks again February 14, 2016 at 9:07 am #85383Pratik ParticipantHi @giuliog, That can be achieved too. For that you can can add following CSS code in Appearance=> Customize=> Theme Options => Custom CSS box: #header-left { width: 87%; // Increase or decrease 87 to push or pull the logo near search bar } #site-logo { float: right; }Please note the comment too. Let me know if this works out or not. You might want to remove following code that added a gap between logo and site title since there will be extra gap now when logo moves towards search. #hgroup.with-logo { margin-left: 15px; }Regards, 
 PratikFebruary 14, 2016 at 3:13 pm #85397giuliog MemberHi Pratick, It worked perfectly. Would it be possible to have the logo really far right basically at the place of the search widget. Even removing the search widget would be fine. Thanks a lot for your support Giulio February 15, 2016 at 9:12 am #85444Pratik ParticipantHi @giuliog, You can increase the 87% to as much as you want(limit is 100%) in #header-left to push the logo further as I have provided in previous reply. To hide the search sidebar, you can can add following CSS code in Appearance=> Customize=> Theme Options => Custom CSS box: #header-right { display: none; }Let me know if this works or not. I will assist you further if you find difficulties. Regards, 
 PratikFebruary 15, 2016 at 12:10 pm #85459rohit Memberhi pratik i want to ask you, How to align site title and description to the center my site url is : http://www.marathimastar.com thanks February 15, 2016 at 12:18 pm #85460Pratik ParticipantHi @rohit, To center the title, you can can add following CSS code in Appearance=> Customize=> Theme Options => Custom CSS box: @media (min-width: 768px) { #header-left { margin-left: 37%; } }Let me know if this worked out for you or not. Regards, 
 PratikFebruary 15, 2016 at 12:52 pm #85466rohit Memberhey Pratik, it is working thank you so much 🙂 🙂 
- 
		AuthorPosts
- The topic ‘Center Site Title and Logo’ is closed to new replies.
