-
AuthorPosts
-
November 7, 2014 at 1:41 pm #347703
How do i change the background colour of a particular column . the colour section is not going into a column . I read lot of tips on this . I find it little hard , since I’m just a beginner ,i find it extremely hard to follow . Please can you give me a step by step instruction .
November 7, 2014 at 2:15 pm #347710Hey simontwr!
Please post the link to your website and point out the colomn :)
Cheers!
YigitNovember 7, 2014 at 3:06 pm #347732This reply has been marked as private.November 7, 2014 at 3:11 pm #347737Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.flex_column.av_one_third.first.avia-builder-el-1.el_after_av_layerslider.el_before_av_one_third.avia-builder-el-first { background-color: red; padding: 10px; }
Best regards,
YigitNovember 7, 2014 at 3:32 pm #347754This reply has been marked as private.November 8, 2014 at 11:43 am #348108Hi!
Thank you for the update.
Please review the documentation. Add the code on functions.php then edit any elements, a text block for example.
add_theme_support('avia_template_builder_custom_css');
For example, you have 3 text blocks and you want them to have different background color. First, edit text block A, look for the custom css field as described on the screenshot then add gray-box. Edit text block B, add green-box. Use red-box for text block C. Save then update the page. Use this on Quick CSS field:
.gray-box, .red-box, .green-box { padding: 10px; } .gray-box { background: gray; } .red-box { background: red; } .green-box { background: green; }
Best regards,
IsmaelNovember 11, 2014 at 12:15 pm #349287This reply has been marked as private.November 11, 2014 at 5:38 pm #349552Hey!
You can add it to bottom of Functions.php file in Appearance > Editor
Regards,
YigitNovember 12, 2014 at 8:22 am #349927This reply has been marked as private.November 12, 2014 at 5:00 pm #350110Hey!
You should go to wp-content > themes > enfold > functions.php file and add the code to the bottom of that file and not the one inside wp-includes
Regards,
YigitNovember 13, 2014 at 7:09 am #350580This reply has been marked as private.November 13, 2014 at 4:52 pm #350720Hey!
@josue provided a workaround some time ago and you can refer it to here – https://kriesi.at/support/topic/how-to-trigger-specific-elements/#post-268697 but coding is needed a bit for that.
If you can post the link to your page and point out the column and the changes you would like to make, we can provide you custom CSS codeBest regards,
YigitNovember 14, 2014 at 8:28 am #351162This reply has been marked as private.November 14, 2014 at 5:58 pm #351380Hey!
Please try using following code
.gbox + * { background-color: gray; padding: 10px; }
Cheers!
YigitNovember 15, 2014 at 1:17 pm #351790It works .
Can you please tell me how to edit the page manually . Is there something like home.php ? How do i do it through Filezilla ?
November 16, 2014 at 3:19 pm #352010Hi!
If you’re using the advance layout builder, you’ll need to edit the template-builder.php which renders all the shortcodes inside a page. If you’re using the default editor, you can edit page.php. There is no home.php file on Enfold. You can create your own template though but we won’t be able to help you with that. Please refer to this link: http://codex.wordpress.org/Page_Templates
Best regards,
IsmaelNovember 17, 2014 at 6:09 am #352276Thanks for the replay . I’ll try the template-builder.php
November 17, 2014 at 7:52 am #352280Can you please specify the folders ..I can see two files in the smae name under different folders
November 18, 2014 at 1:57 pm #352946 -
AuthorPosts
- You must be logged in to reply to this topic.