The document discusses how a user's custom fonts and colors can be included in their public profile page. It recommends adding additional <div> tags within the template file to make the theme effective for the outside and inside containers. The user's font and color selections are stored in a database table called "user_theme_color" when they upgrade to a premium theme.
1 of 1
Download to read offline
More Related Content
Documentation custom colors
1. Documentation Custom colors/fonts<br />How are the user's custom fonts/colors being included in their public profile? Is it included dynamically before the </head> tag?<br />It is included dynamically. Currently it is not functional. In order to make it working again, the following modifications should be done to the template.php file for each theme.<br />To make theme effective for the outside container div<br />Inside <div id=\"
wrapper\"
>, please include another division with id <div id=content_public_profile> and close the same </div> before the wrapper divs closing tag. <br />To make theme effective for the inside container div<br />For the container div (name may differ as per the name you gave for the templates container), please include another class with name public_container so that the styles specified for a particular user can be applied. <br />2. Where are those files/data being stored? Is that data being stored in the database for each user? For clarification, I'm referring to the data the user selects when changing to a Premium theme, then choosing their fonts/sizes/colors.<br />Yes the information regarding the custom fonts/colors are stored in database in a table named user_theme_color <br />