-
AuthorPosts
-
January 23, 2015 at 10:10 pm #384661
I wanted to know if were possible to change the color of the ‘main content area’ for a specific page? In my case, the contact me page I am doing for a client? I want the submit button to be pink and the asterisks pink too (Which I could do if I change the color in the enfold child options but I don’t want all my clients links and highlights pink on the other pages.) But I only want it like this for a specific page (Contact me) is it possible? Here’s a link below with a picture of how I want the color styling for that page only, the specific portions of the page are circled in black.
[img]http://i.imgur.com/ysX6TEn.jpg?1[/img]
http://i.imgur.com/ysX6TEn.jpg?1 (Direct link to example picture)
Below is the specific area I need to edit to get the effect I want within enfold child options but only want the pink color for that specific page stated above. Pink is the color #eec8c8
General Styling
Main Content (Tab)
Primary color
Font color for links, dropcaps and other elementsI’ll also leave login details below if needed.
Thanks,
Iconward
- This topic was modified 9 years, 10 months ago by Iconward.
January 26, 2015 at 9:22 am #385300Hi Iconward!
Thank you for visiting the support forum.
You can use the page’s body class id. Something like this:
.page-id-29 #submit, .page-id-29 input[type='submit'] { background-color: pink; border-color: black; }
Regards,
IsmaelJanuary 27, 2015 at 9:52 pm #386613Hi Ismael,
Where exactly do I place the code? Do I just paste it into my enfold child theme’s functions.php within the editor?
I got this error when I pasted the code in functions.php belwo the line where it says add your functions here
Parse error: syntax error, unexpected ‘.’ in /home4/econward/public_html/wp-content/themes/enfold-child/functions.php on line 8
Thanks.
January 27, 2015 at 9:54 pm #386614Now the website won’t load i get this error
Parse error: syntax error, unexpected ‘.’ in /home4/econward/public_html/wp-content/themes/enfold-child/functions.php on line 8
January 27, 2015 at 9:59 pm #386622Never mind I went into my FTP and deleted the line you recommended within enfold-child functions.php file. But I obviously didn’t add the code right and still need help with that. Thank you for the time and patience with me. I am still a very new and green developer.
January 27, 2015 at 10:15 pm #386636Hi!
Please go to Enfold theme options > General Styling and add the code to Quick CSS field. You can also add the code to Custom.css file which is inside Enfold/css folder
Best regards,
YigitJanuary 27, 2015 at 10:41 pm #386656Ok I got the submit button pink, but not the asterisk in the your name, email, subject’s field, similar to the picture I provided up above, but putting the code in the Quick CSS field worked! Thanks Yigit.
- This reply was modified 9 years, 9 months ago by Iconward.
January 28, 2015 at 5:18 pm #387145 -
AuthorPosts
- You must be logged in to reply to this topic.