# Styling with custom CSS

The product spotlight app allows you to add your own styling. In the settings of the app you can chose to enable/disable the standard styling. The standard styling is by default enabled. In the settings you can also add the css you want to. You need to be careful though cause the css you add in there can affect your blog page and because of that it is important that you specify the css with id's and classes. If you want to see which id's/classes are used where, use the inspector in your browser.

Here you can see an example of how we added some custom css and how it affected the pop-up modal.

<figure><img src="https://2508922377-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyDckOY2znNtxL2jKDuCY%2Fuploads%2FidU3O0C3xnOJ7VUaaqst%2Fstyling_900abj%20(1).png?alt=media&amp;token=8880c2ef-d223-455d-991d-560a3c01d4f9" alt=""><figcaption><p>Setting the product description text to blue</p></figcaption></figure>

<figure><img src="https://2508922377-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyDckOY2znNtxL2jKDuCY%2Fuploads%2FIMBgbc94VtZXZAw3crVG%2Fstyling-example_udpslz.png?alt=media&amp;token=98db2f8d-de91-4995-b69a-30ddfa483604" alt=""><figcaption><p>The result of the custom css</p></figcaption></figure>

### Default CSS class

The css we created is made for two objects. One is the pop-up modal on your blog. The second object is the box that displays the products that were used in the blog. There is a chance that the object that displays the mentioned products doesn't need styling cause it's an optional feature.&#x20;

In case if you enabled the feature we highly recommend you to stye it accordingly to your theme design (unless you are using the default styling then it's already taken care of).

The following is the default CSS which you can disable or overwrite:

```css
.TomITproductGridItem {
  width: 25%;
  float: left;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.TomITproductGridItem:hover {
  opacity: 0.7;
}
#TomITProductView {
  display: none;
  padding: 20px;
}
#tomITContentHolder ul {
  margin: 0;
  padding: 0;
}
#tomITContentHolder li {
  list-style-type: none;
}
#tomITContentHolder {
  padding-top: 10px;
}
#tomITContentHolder strong {
  margin-bottom: 10px;
  display: block;
  border-bottom: 1px solid #eee;
}
#tomITContentHolder {
  cursor: pointer;
}
.TomITProductPopup {
  display: block;
  width: 200px;
  min-height: 240px;
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  position: absolute;
  visibility: hidden;
  background: rgba(255, 255, 255, 1);
}
.TomITProductPopup strong {
  font-size: 10px;
  line-height: auto;
}
.TomITproductGridItem {
  width: 22%;
  float: left;
  margin-right: 15px;
  list-style-type: none;
}
.TomITproductGridItem .TomITProductTitle {
  min-height: 80px;
  display: block;
  font-weight: bold;
}
.TomITProductImage {
  width: 100%;
  height: 170px;
  overflow: hidden;
}
.TomITProductImage img {
  max-height: 100%;
  max-width: 100%;
}
@media only screen and (max-width: 600px) {
  .tomit_add_to_cart {
    width: 90%;
  }
}
```


# What if the pop-ups doesn't work?

If the pop-ups doesn't work, it's handy to scan the articles again. This is done by clicking on 're-scan all articles' which can be found under settings. You must use this button if you have created a new article with product links or if you have modified an article.

<figure><img src="https://2508922377-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyDckOY2znNtxL2jKDuCY%2Fuploads%2FRiNbVpqO3D1WA68V35nG%2FScreenshot%202023-11-22%20at%202.22.00%20PM.png?alt=media&amp;token=cff4190a-8da1-4bc6-8974-ad0ab604ac4a" alt=""><figcaption><p>Click Re-scan to rescan all articles</p></figcaption></figure>

Alternatively, if you would like to scan a new article or an article that you have updated, in the article under "More actions", click "Scan Product Links".&#x20;

<figure><img src="https://2508922377-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyDckOY2znNtxL2jKDuCY%2Fuploads%2F3qGmjqQun7XECrirNIeG%2FScreenshot%202023-11-22%20at%202.23.17%20PM.png?alt=media&amp;token=d81d597d-3a11-4d62-9473-0e79960352be" alt=""><figcaption><p>Click "Scan Product Links" to quickly scan an article</p></figcaption></figure>


# How to use the app?

In this article we will show you how you can get pop-ups to work with a new or edited blog .

The first step is adding a new product link to you blog which can be done like this. Select the text that refers to the product and click on insert link.

<figure><img src="https://2508922377-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyDckOY2znNtxL2jKDuCY%2Fuploads%2FmxFtG7Gt9gOVtnfo4AAX%2Fselectproductlink_ym5vig.png?alt=media&amp;token=9f70a23a-f5e1-4c78-bcc0-b8b0daa26280" alt=""><figcaption></figcaption></figure>

Then you will get the following screen where you can insert a product link.

<figure><img src="https://2508922377-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyDckOY2znNtxL2jKDuCY%2Fuploads%2FnFE8rK5eZCaWveQUEob3%2Finsertlink_iil3yg.png?alt=media&amp;token=8e9c880d-f11d-4489-b2b6-cc8ae16d9765" alt=""><figcaption></figcaption></figure>

After all the product links are placed, click "Save"

<figure><img src="https://2508922377-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyDckOY2znNtxL2jKDuCY%2Fuploads%2F7d7i1Dr0VxlWdNjbIgE3%2Fsavearticle_13fus2s.png?alt=media&amp;token=1a712f3a-a61d-4c53-aa81-7f16b2dafa76" alt=""><figcaption></figcaption></figure>

After your article is saved, click on "More actions" and then click "Scan Product Links"

<figure><img src="https://2508922377-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyDckOY2znNtxL2jKDuCY%2Fuploads%2F3qGmjqQun7XECrirNIeG%2FScreenshot%202023-11-22%20at%202.23.17%20PM.png?alt=media&amp;token=d81d597d-3a11-4d62-9473-0e79960352be" alt=""><figcaption></figcaption></figure>

You can now go to your blog article and you will see a pop-up when you hover or click on the product link depending on your settings.

<figure><img src="https://2508922377-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyDckOY2znNtxL2jKDuCY%2Fuploads%2F1aHHpWtqSKJOGYu1XdWA%2Fhover_gysn1w.png?alt=media&amp;token=cb1d64ba-5593-4f22-841f-607b24b31daf" alt=""><figcaption><p>When you hover over the product link</p></figcaption></figure>

<figure><img src="https://2508922377-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyDckOY2znNtxL2jKDuCY%2Fuploads%2FXtlwibDkYIQbecnyWha7%2Fclick_1exvn3j.png?alt=media&amp;token=f5febbb3-c1f6-47a5-ba28-9ecaa06316d2" alt=""><figcaption><p>When you click on the product link</p></figcaption></figure>


# Privacy Policy

### Privacy Policy for all Flow State Coders's Apps on Shopify Apps <a href="#privacy-policy-for-effective-apps-shopify-apps" id="privacy-policy-for-effective-apps-shopify-apps"></a>

At Flow State Coders, one of our main priorities is the privacy of our visitors. This Privacy Policy document contains types of information that is collected and recorded by Flow State Coders's Apps and how we use it. If you have additional questions or require more information about our Privacy Policy, do not hesitate to contact us at <flowstatecoders@gmail.com>.

### General Data Protection Regulation (GDPR) <a href="#general-data-protection-regulation-gdpr" id="general-data-protection-regulation-gdpr"></a>

We are a Data Controller of your information. Flow State Coders legal basis for collecting and using the personal information described in this Privacy Policy depends on the Personal Information we collect and the specific context in which we collect the information:

* Flow State Coders needs to perform a contract with you
* You have given Flow State Coders permission to do so
* Processing your personal information is in Flow State Coders legitimate interests
* Flow State Coders needs to comply with the law

Flow State Coders will retain your personal information only for as long as is necessary for the purposes set out in this Privacy Policy. We will retain and use your information to the extent necessary to comply with our legal obligations, resolve disputes, and enforce our policies. Our Privacy Policy was generated with the help of [GDPR Privacy Policy Generator](https://www.gdprprivacynotice.com/) and the [Privacy Policy Generator](https://www.privacypolicygenerator.org/). If you are a resident of the European Economic Area (EEA), you have certain data protection rights. If you wish to be informed what Personal Information we hold about you and if you want it to be removed from our systems, please contact us. In certain circumstances, you have the following data protection rights:

* The right to access, update or to delete the information we have on you.
* The right of rectification.
* The right to object.
* The right of restriction.
* The right to data portability.
* The right to withdraw consent.

### Log Files <a href="#log-files" id="log-files"></a>

Flow State Coders follows a standard procedure of using log files. These files log visitors when they visit websites. All hosting companies do this and a part of hosting services' analytics. The information collected by log files include internet protocol (IP) addresses, browser type, Internet Service Provider (ISP), date and time stamp, referring/exit pages, and possibly the number of clicks. These are not linked to any information that is personally identifiable. The purpose of the information is for analyzing trends, administering the site, tracking users' movement on the website, and gathering demographic information.

### Cookies and Web Beacons <a href="#cookies-and-web-beacons" id="cookies-and-web-beacons"></a>

Like any other website, Flow State Coders uses 'cookies'. These cookies are used to store information including visitors' preferences, and the pages on the website that the visitor accessed or visited. The information is used to optimize the users' experience by customizing our web page content based on visitors' browser type and/or other information.

### How we use your information <a href="#how-we-use-your-information" id="how-we-use-your-information"></a>

We use the information we collect in various ways, including to:

* Provide, operate, and maintain our website and services.
* Improve, personalize, and expand our website and services.
* Understand and analyze how you use our website and services.
* Communicate with you, either directly or through one of our partners, including for customer service, to provide you with updates and other information relating to the website, and for marketing and promotional purposes.
* Send you emails.
* Find and prevent fraud.

### Privacy Policies <a href="#privacy-policies" id="privacy-policies"></a>

You may consult this list to find the Privacy Policy for each of the advertising partners of Flow State Coders Apps. Third-party ad servers or ad networks uses technologies like cookies, JavaScript, or Web Beacons that are used in their respective advertisements and links that appear on Flow State Coders Apps, which are sent directly to users' browser. They automatically receive your IP address when this occurs. These technologies are used to measure the effectiveness of their advertising campaigns and/or to personalize the advertising content that you see on websites that you visit. Note that Flow State Coders has no access to or control over these cookies that are used by third-party advertisers.

### Third Party Privacy Policies <a href="#third-party-privacy-policies" id="third-party-privacy-policies"></a>

Flow State Coders's Privacy Policy does not apply to other advertisers or websites. Thus, we are advising you to consult the respective Privacy Policies of these third-party ad servers for more detailed information. It may include their practices and instructions about how to opt-out of certain options. You may find a complete list of these Privacy Policies and their links.You can choose to disable cookies through your individual browser options. To know more detailed information about cookie management with specific web browsers, it can be found at the browsers' respective websites. [What Are Cookies?](https://allaboutcookies.org/)​

### Online Privacy Policy Only <a href="#online-privacy-policy-only" id="online-privacy-policy-only"></a>

Our Privacy Policy applies only to our online activities and is valid for visitors to our website with regards to the information that they shared and/or collect in all Flow State Coders. This policy is not applicable to any information collected offline or via channels other than this website.

### Consent <a href="#consent" id="consent"></a>

By using our website, you hereby consent to our Privacy Policy and agree to its terms.


