Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Hello, excuse me, I am german and my english is not very good. I hope you understand me.
In Backlight I am an absolute beginner.
I have created a search page and would like to put the searchbox in the center.
How can I do this with CSS?
Is there a list of available selectors, e.g. ".copyright", for CSS?
I hope there is a solution to my question. Thank you.
Regards
Pixelmover
Pixelmover Rainer
Learn for a lifetime
Offline
Sorry, I post my question in the false category.
Can everyone move it to the right?
Thanks
Pixelmover
Pixelmover Rainer
Learn for a lifetime
Offline
To answer your second question: http://community.theturninggate.net/vie … hp?id=7380
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Hello, excuse me, I am german and my english is not very good. I hope you understand me.
In Backlight I am an absolute beginner.
I have created a search page and would like to put the searchbox in the center.
How can I do this with CSS?Regards
Pixelmover
I'm assuming you mean any page text along with the search form?
I think you'll need a css file just for this page because this involves centering headings and paragraphs in the copy area, perhaps not something you want done to all pages.
your custom css file should contain this:
.the__copy h2, .the__copy p, .the__copy form {
text-align: center;
}
name this file "search.css" or something similar.
create a page template (clone it from an existing page template) and name it "search page" or something similar.
In Advanced Customization, assign the search.css file as the custom stylesheet.
created an album template and name it "search" and assign to it the "search page" page template.
Assign this new album template as the search page template in Backlight > Publisher > Settings > Search: Search Template
In your search.css file you should also include any other custom css you've come up with for your site that would pertain to this page.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Hello Rod.
Thank you for the detailed help.
Everything works fine.
Regards
Pixelmover
Pixelmover Rainer
Learn for a lifetime
Offline
Pages: 1