Add custom bg color and logo option for a div in header from admin panel theme options - wp twenty eleven theme - header

I'm new to wordpress.. I have created a custom theme with files of twenty eleven theme in wordpress. But I'm not able to add custom background option and custom logo option. I'm trying to implement it in theme options page. I want to add a custom background color to a div in header section and also a logo in header.
Please give any suggestions for me to complete this theme creation.
Please give some idea about how to add new fields in theme options page and how to display it in pages..
I also want to add some custom text field for displaying address or some lines of text which can be updated from theme options.
Thanks in advance.

try wp codex (https://codex.wordpress.org/Theme_Customization_API), it'll help you with setting up the default wp customizer.
I personally use both the default customiser and the OptionTree plugin (http://wordpress.org/extend/plugins/option-tree/), the plugin is really easy to implement, I'd suggest you start with that.

Related

How can I add customized icon link to Shopify header

I need help to add customized icon to the header of Shopify Store - Narrative theme.
https://butterflight-boutique.myshopify.com/
If no option available in theme settings then do below
Note: You should have HTML code idea.
From your Shopify admin, go to Online Store > Themes.
Find the theme you want to edit, and then click Actions > Edit code
Goto templates section and find Header template you can update there.
If the header is custom then to the main layout find which header is working and update that as per need.

Shopify: How to make a custom template editable in the theme editor?

I am using the theme "Debut" and I've copied it to make a custom theme out of it.
Then, under "Edit code" I have create a new template for "blog".
Now, when I click on "Customize" button at my template, and the theme editor opens, I have a select box in the top bar where I can select the themes templates, and the pages I've created. But I can't find my custom blog template there, to edit it via the drag & drop editor.
How can I achieve this?
Any help is highly appreciated, thanks!
Once you add any custom template for a blog, product, or collection, they are not available directly into the backend customizer in Shopify.
In backend default templates are available, you need to assign the template to a page, product or blog and then navigate to the desired page, collection or product and blog page into backend using customizer window and then you able to edit the sections and blocks that are added to custom template code.

Find picture url

I am developing in shopify and want to add the background image below but can't find the url link for it. I know you can find it in Settings -> Files. But I need the actual picture url online to then upload it.
This section is being controlled from theme customization.
Go into customize theme, sections and there you will see option to change backgroud image.

Customize Hybris Backoffice login Theme

Anyone has an idea about how to change the default Backoffice Login Theme (Color, Background and image or any of these) ?
It could be helpful if you point out the file(s) responsible for this, or a specific way to customize it.
Using Hybris 6.0 or later.
Replacing Styles of Backoffice Application :
It is possible to replace the standard look and feel of the Backoffice Application. In other words, you can change the style sheet used in login page and main application pages including all components.
Files responsible for changing Backoffice main page style are located in the following key properties :
backoffice.cockpitng.mainpage.css=/cng/css/mainpage_whitelabel.css
backoffice.cockpitng.loginpage.css=/cng/css/loginpage_whitelabel.css
backoffice.cockpitng.overridewidgetsandeditors.css=/cng/css/customWidgetsAndEditors.css
For more about this topic, you can visit this link.

Prestashop how to customize theme

I have bought leo_chopin theme (because client asked for it). My question is how to customize a theme from html/php/css editor and not from admin panel (it's too constricting). I wouldn't hardcode, but use hooks. This is the first time I'm using Prestashop and that style of programing... For example, where to call my own header.tpl, footer.tpl, content.tpl?
Thank you in advance for your help.
Go to your_site_folder/themes/leo_chopin/ and you will find header.tpl, footer.tpl.
You can modify these templates there or make a copy of a theme into another folder and modify it.
All content between header and footer depends on a page controller. All controllers for the front are in a folder your_site_folder/controllers/front/. ProductController.php is for product pages, CategoryController.php is for category pages, IndexController.php is for the home page etc.
You can find more in Prestashop documentation: http://doc.prestashop.com/display/PS16/Laying+the+Theme's+Foundations.