- This topic has 3 replies, 2 voices, and was last updated 8 years, 5 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Free Themes › Photo Perfect › Centering Page Title
I am trying to center the Page title over the main content of the page rather than over the full width of the page. Right now it centers of the main content and the sidebar. avee@wensolutions suggested the following code to help:
#separator-title {
text-align: left;
margin-left: 260px;
}
The only problem with this code is that is works if the window is not maximized or if the monitor is smaller. If I maximize, it shifts to the left quite a bit. Is there any way to center it over the left column since the right column (approximately 1/3 of the screen) is the sidebar?
Hello @jmatdrama
Try adding below custom CSS:
#separator-title {
margin-right: 25%;
}
Hope this will help to resolve this issue.
Let us know how it goes.
Regards!!!
Thanks! That worked great.
Hello @jmatdrama
Nice to know that the problem has been solved. If there are any further query, then, please feel free to post them.
We will really appreciate if you could help us too by rating our theme in WordPress repo here:-
https://wordpress.org/support/view/theme-reviews/photo-perfect
Best Regards
CHEERS!!!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |